5570 Commits

Author SHA1 Message Date
S.Çağlar Onur 35bf19d0fe seçeneğin ismi --postpone yerine --postpone-postinstall yapıldı, kısa hali çıkartıldı, bunu illa isteyen uzun uzun yazsın diye karar verdik :) 2005-10-25 11:35:31 +00:00
Eray Özkural cfcec31367 * we're about to release :) 2005-10-25 11:31:04 +00:00
S.Çağlar Onur 287f9349f2 configure-pending için postpone eklendi...
caglar@pardus ~ $ sudo pisi it net-tools-1.60-1.pisi --postpone
Yerleştirme sırası: net-tools
net-tools, versiyon 1.60, sürüm 1, inşa 0 yerleştiriliyor.
net-tools için kaldırma-öncesi betiği çalıştırılıyor.
net-tools'in COMAR betikleri kayıttan siliniyor.
Dosyalar arşivden çıkartılıyor.
files.xml saklanıyor,
metadata.xml saklanıyor
comar/interface.py saklanıyor
COMAR betiği interface.py kayıt ediliyor

caglar@pardus ~ $ sudo pisi list-pending
net-tools

caglar@pardus ~ $ sudo pisi configure-pending
digraph G {
    net_tools[ label = "net-tools(1.60,1)" ];


}
net-tools için yerleştirme-sonrası betiği çalıştırılıyor.
2005-10-25 11:15:57 +00:00
Eray Özkural c578d4c879 * use None for filesize if can't read
* get_file_hashes: warn if we're ignoring directory
2005-10-25 09:55:33 +00:00
S.Çağlar Onur 95fee7b01f Build işlemi sonrası pkg_dir silinsin desteği, öntanımlı hali açık yani build
sonrası paketi oluşturduktan sonra kaynak kodun olduğu derleme dizinini
siliyor. Yok kalsın istiyorsanız aşağıdaki bölümü /etc/pisi/pisi.conf'a
eklemek yeterli...

[general]
autoclean = False
2005-10-25 02:55:41 +00:00
S.Çağlar Onur 8c761c0618 pisi build desktop/freedesktop/hal/pspec.xml -d
...
...
...

* Paket hal inşa ediliyor
files.xml yaratılıyor,
Fatal Error. Program Terminated.
pisi.util.FileError: Cannot calculate SHA1 hash of /var/tmp/pisi/hal-0.5.4-1/install/etc/hal/fdi/information

Traceback:
  File "/usr/bin/pisi", line 65, in ?
    cli.run_command()
  File "/usr/lib/python2.4/site-packages/pisi/cli/pisicli.py", line 107, in run_command
  File "/usr/lib/python2.4/site-packages/pisi/cli/commands.py", line 1027, in run
  File "/usr/lib/python2.4/site-packages/pisi/api.py", line 320, in build_until
  File "/usr/lib/python2.4/site-packages/pisi/api.py", line 293, in __buildState_buildpackages
  File "/usr/lib/python2.4/site-packages/pisi/build.py", line 531, in build_packages
  File "/usr/lib/python2.4/site-packages/pisi/build.py", line 372, in gen_files_xml
  File "/usr/lib/pardus/pisi/util.py", line 323, in get_file_hashes
    yield (parent, sha1_sum(parent))
  File "/usr/lib/pardus/pisi/util.py", line 286, in sha1_sum
    raise e

/var/tmp/pisi/hal-0.5.4-1/install/etc/hal/fdi/information içinde birşey olmayan boş bir klasör bu sebepten sha1_sum patlıyor...
2005-10-25 02:31:09 +00:00
S.Çağlar Onur e73222028e fix fox
System Error. Program Terminated.
exceptions.AttributeError: 'module' object has no attribute 'issymlink'
2005-10-25 02:22:21 +00:00
Eray Özkural 6731b19439 typo 2005-10-24 21:55:36 +00:00
Eray Özkural 851a0b2b2d * ask&update repo after adding. we're user-friendly! 2005-10-24 21:40:00 +00:00
Eray Özkural baa0f32a3e * update environment iff we got a shared object or something under /etc/env.d 2005-10-24 21:21:44 +00:00
Eray Özkural 583c118dc2 * cat-db: read mode
* try to create them subdirs if they do not already exist
2005-10-24 20:54:23 +00:00
Eray Özkural df7be7b557 * smart constructor that falls back to read-only access when there
aren't sufficient permissions
2005-10-24 19:06:33 +00:00
Eray Özkural 5fd8c62d56 * make constructor/destructor a little more flexible 2005-10-24 18:47:41 +00:00
Eray Özkural 46e9a94292 * more relevant to build stuff 2005-10-24 14:29:21 +00:00
Eray Özkural 4811457c0f * give a warning on broken symlinks, otherwise err. solves #586 2005-10-24 13:27:53 +00:00
Eray Özkural 6abfdb1948 * remove some commented out cruft 2005-10-24 13:17:10 +00:00
Eray Özkural 5e06d2fc1b * skip translating docstrings in files except commands...
* create destination directory if it doesn't exist
* update po, wohooo
2005-10-24 13:06:19 +00:00
A. Murat Eren f479d6926d sinek de ufak.. 2005-10-24 12:47:49 +00:00
Eray Özkural aac45fe499 * shorten a bit 2005-10-24 12:36:07 +00:00
Eray Özkural 19c7a17d79 * use self.d hahaha 2005-10-24 12:34:52 +00:00
Eray Özkural 7f08da950e * fix: it's an error if the runtime dependencies are not satisfiable
by repositories
2005-10-24 12:09:41 +00:00
Eray Özkural bb52770e1f * fix: search satisfiability in reverse deps in upgrades, as well. (bug #615) 2005-10-24 12:03:02 +00:00
Eray Özkural f1a34330b3 * typo
* add -y to beta-light
2005-10-24 11:28:43 +00:00
Eray Özkural dc6b8f51c2 * fix: take into account that install_pkg_names doesn't have a return
value
2005-10-24 11:22:56 +00:00
Eray Özkural ca08a74d01 * typo 2005-10-24 11:15:32 +00:00
Eray Özkural 517d45568b * typo 2005-10-24 11:13:19 +00:00
Eray Özkural 2dd9480911 * make all db's use lockeddbshelve
* fix: long standing bug that prevented dbs and locks from being
  properly closed at exit, now pisi.finalize does something :)
2005-10-24 11:07:44 +00:00
S.Çağlar Onur 79e969eb50 burada os.walk ile geziyoruz, içerdeki klasörler unutulmuş... 2005-10-24 03:34:01 +00:00
S.Çağlar Onur 90bb2b0ef1 typo 2005-10-24 03:09:41 +00:00
S.Çağlar Onur d303019f4c icecream/ccache support... 2005-10-24 03:01:57 +00:00
Eray Özkural fb799a074f * implement high level conflict checking 2005-10-23 20:50:22 +00:00
Eray Özkural d5ad249fa1 * eliminate redundant __str__ 2005-10-23 19:39:41 +00:00
Eray Özkural 21744c9aa8 * remove redundant case for xml errors 2005-10-23 14:35:46 +00:00
Eray Özkural f67bd91aca * looks special handling for XmlError is redundant. Any reason why that is here? Probably because the old handling was broken... 2005-10-22 20:26:31 +00:00
Eray Özkural b2c34aaf59 * make eager upgrades optional via --eager flag 2005-10-22 19:25:28 +00:00
Eray Özkural 9de6203acf *fix: instead of relying on inserting the package that is being installed
in the packagedb, just look at the pkginfo that we've got. that
  wasn't a reliable method, because it skipped the case when the
  package to be installed did not match the one in the database (which
  is rare, but will not be rare for developers!)
* improve exception handling
* update test
2005-10-21 23:36:10 +00:00
Barış Metin 651215b913 test if configfile sections/flags exists... 2005-10-21 21:30:04 +00:00
Eray Özkural 9e5ea063c8 * fix: error raised in wrong place
* ask to install build deps
2005-10-21 14:43:22 +00:00
Barış Metin c331c16f96 fix. bug 613.
(arg... compared values are integer...)
2005-10-21 13:38:16 +00:00
Barış Metin 923c5d4891 remove "pisi" prefix from test. we are testing version numbers not package names... 2005-10-21 13:29:49 +00:00
Barış Metin 84bd5ccde2 this fails. see bug #613 2005-10-21 13:21:55 +00:00
Barış Metin 6237e9f87f not all errors are "permission errors" 2005-10-21 09:23:57 +00:00
Eray Özkural c6228278d1 * update tests
* more reorg, lemme know if anything's broken
2005-10-20 22:23:42 +00:00
A. Murat Eren 43106ef33b bitrate'i adam gibi hesaplar mıyız lütfen.. teşekkürler. 2005-10-20 18:53:52 +00:00
A. Murat Eren bc84a9b95e kimse bakmiyor olsa da kodlarimiz cici olsun. 2005-10-20 17:49:46 +00:00
A. Murat Eren cb77df6d65 ftp resume support..
fak yu file transfer protocol. special thanks goes to urllib and urlgrabber..
2005-10-20 17:10:33 +00:00
İsmail Dönmez 10d67c1846 install/remove çalışsın lazım filan olur belkim :p 2005-10-20 15:31:09 +00:00
Eray Özkural 60017fcabb * make build automatically install the unsatisfied build dependencies 2005-10-20 03:38:17 +00:00
Eray Özkural c3bb82858f * refactor in preparation of fixing several bugs and making many
not-so minor improvements!
2005-10-20 03:08:27 +00:00
S.Çağlar Onur 46322f177a Nerde o eski ChangeLog'lar, eridi gittiler be. Ahhh ahh, neyse bi sigara ver bana... 2005-10-19 20:30:51 +00:00