- 26 Eki, 2005 25 kayıt (commit)
-
-
Eray Özkural yazdı
:)
-
Barış Metin yazdı
-
Barış Metin yazdı
make the globals in db modules None and leave the rest to python. ====================================================================== ERROR: testRemovePurge (installdbtests.InstallDBTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/baris/svn/uludag/trunk/pisi/tests/installdbtests.py", line 22, in setUp pisi.api.init(database = True, comar = False) File "/usr/lib/python2.3/site-packages/pisi/api.py", line 66, in init ctx.filesdb = pisi.files.FilesDB() File "/usr/lib/python2.3/site-packages/pisi/files.py", line 109, in __init__ shelve.LockedDBShelf.__init__(self, 'files') File "/usr/lib/python2.3/site-packages/pisi/lockeddbshelve.py", line 43, in __init__ self.open(filename, dbname, filetype, flags, mode) File "/usr/lib/python2.3/site-packages/pisi/lockeddbshelve.py", line 70, in open self.lock() File "/usr/lib/python2.3/site-packages/pisi/lockeddbshelve.py", line 78, in lock raise Error(_("Another instance of PISI is running. Try later!")) Error: PISI bir yerde daha çalışıyor. Yine deneyin!
-
Eray Özkural yazdı
language * additional recommendations and a link to PEP 8 * would still need reorg... most of those aren't guidelines, just suggestions.
-
Barış Metin yazdı
exa
-
S.Çağlar Onur yazdı
-
Barış Metin yazdı
-
Eray Özkural yazdı
* update autoxml doc
-
Barış Metin yazdı
-
Eray Özkural yazdı
:(
-
Eray Özkural yazdı
-
Eray Özkural yazdı
* remove the stupid code that tried to add XmlFile as a base class
-
Eray Özkural yazdı
* source is not a list * some more working no XmlFile support in autoxml, looking for a way :(
-
Eray Özkural yazdı
check methods, for now. (maybe we can find a better soln)
-
Eray Özkural yazdı
-
Eray Özkural yazdı
now in a somewhat kludgey way, for testing purposes (the automatic addition of XmlFile as a base class doesn't work yet)
-
İsmail Dönmez yazdı
<< Mom! PiSi is being a dildo! >>
-
Eray Özkural yazdı
-
İsmail Dönmez yazdı
-
Eray Özkural yazdı
* package_prefix -> package_suffix :) * small comments
-
Eray Özkural yazdı
without breaking anything (but please see the notes) also rearrange the code a little, this is tested with a single entry in zlib, so definitely needs more extensive testing * cleanup en_build_no codes, reorganize * util: add is_package_name function * util: no studlyCaps
-
Eray Özkural yazdı
-
Eray Özkural yazdı
-
Barış Metin yazdı
so we must handle it carefully while creating nodes not to get errors like below: System Error. Program Terminated. exceptions.TypeError: node contents must be a string Traceback: File "/usr/bin/pisi", line 65, in ? cli.run_command() File "/usr/lib/python2.3/site-packages/pisi/cli/pisicli.py", line 107, in run_command self.command.run() File "/usr/lib/python2.3/site-packages/pisi/cli/commands.py", line 1029, in run pisi.api.build_until(arg, "buildpackages", self.authInfo) File "/usr/lib/python2.3/site-packages/pisi/api.py", line 327, in build_until __buildState_buildpackages(pb, last) File "/usr/lib/python2.3/site-packages/pisi/api.py", line 300, in __buildState_buildpackages pb.build_packages() File "/usr/lib/python2.3/site-packages/pisi/build.py", line 531, in build_packages self.gen_files_xml(package) File "/usr/lib/python2.3/site-packages/pisi/build.py", line 384, in gen_files_xml files.write(files_xml_path) File "/usr/lib/python2.3/site-packages/pisi/files.py", line 100, in write document.appendChild(x.elt(self.dom)) File "/usr/lib/python2.3/site-packages/pisi/files.py", line 62, in elt sizeElt.appendChild(dom.createTextNode(size)) File "/usr/lib/python2.3/xml/dom/minidom.py", line 1612, in createTextNode raise TypeError, "node contents must be a string"
-
S.Çağlar Onur yazdı
-
- 25 Eki, 2005 15 kayıt (commit)
-
-
Eray Özkural yazdı
-
Eray Özkural yazdı
-
Eray Özkural yazdı
-
Eray Özkural yazdı
* start working on specfilenew again * make test suite smarter. by definition of a test suite, they can be run out of order. * change the behavior of first running and then reporting all errors. now we see where the error belongs to clearly. better in the cases with several errors.
-
Eray Özkural yazdı
-
Eray Özkural yazdı
-
Eray Özkural yazdı
-
Eray Özkural yazdı
-
Eray Özkural yazdı
-
S.Çağlar Onur yazdı
-
Eray Özkural yazdı
* fix: clear pending state properly in database (thanks to caglar for showing me this, i've forgotten it)
-
S.Çağlar Onur yazdı
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 :)
-
Eray Özkural yazdı
-
S.Çağlar Onur yazdı
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.
-
Eray Özkural yazdı
* get_file_hashes: warn if we're ignoring directory
-