50a4461c0b
* I'm working on autoxml :)
Eray Özkural
2005-11-01 00:30:04 +00:00
6599f422c0
* more magic: automatic read and write methods when XmlFile is a base class :)
Eray Özkural
2005-11-01 00:28:01 +00:00
fe6234d3e0
* rebuilddb -> rebuild-db * factor rebuild-db stuff into atomicoperations, but this might deserve its own module when I implement other recovery stuff.
Eray Özkural
2005-10-31 22:47:03 +00:00
8ce334422a
* a few minor, fixes, make specfilenewtests complete successfully
Eray Özkural
2005-10-31 22:24:58 +00:00
e5d3130b11
package silinince files db dende path bilgileri silinsin
Faik Uygur
2005-10-31 22:22:01 +00:00
c372bbd6a7
* fix names * no db
Eray Özkural
2005-10-31 19:36:02 +00:00
bac8b39310
rebuilddb'nin biraz daha bilgi verici olmasi icin info output'u (insanlar bu bir sey yapmiyor diyerek Ctrl+C yapiyorlar).
A. Murat Eren
2005-10-31 18:26:41 +00:00
3bfc029ef6
* fix: autoxml based write routine for SpecFile * fix: use context dammit!
Eray Özkural
2005-10-31 17:34:20 +00:00
db8b20569b
* fix: informative type mismatch message * don't match None types
Eray Özkural
2005-10-31 17:27:56 +00:00
0955ef30ca
* more fixes: - sync more of Package attributes from specfile - naming changes - remove cruft - put gettext stuff
Eray Özkural
2005-10-31 17:19:15 +00:00
bbbb681fc9
* fix: default paths for list of class, and list of basic types
Eray Özkural
2005-10-31 16:55:19 +00:00
7014c7453c
* fix: formatting of class elements was broken
Eray Özkural
2005-10-31 15:33:06 +00:00
9ccd5bbe9a
* support "string" attributes, starting with s_, test it in xmlfiletests * fix: handle unicode in output formatting
Eray Özkural
2005-10-31 15:28:22 +00:00
5cae5f996e
Eray'ı kızdırmayalım, api.py yi temiz tutalım
Faik Uygur
2005-10-30 08:04:26 +00:00
3eb8951ff1
Test case for #630, but all tests are completed succesfully, dunno...
S.Çağlar Onur
2005-10-30 04:43:32 +00:00
c4619986b6
/var/lib/pisi altındaki paketlerden database oluşturulurken paketlerden yüksek versiyonlu olanını kullan
Faik Uygur
2005-10-30 00:34:19 +00:00
8a7a7f0925
/var/lib/pisi altinda duran eski formatli metadata dosyalarinizi fix edebilirsiniz bununla (test ettim fakat her ihtimale karsi dizini yedekleyin bir yere)..
A. Murat Eren
2005-10-29 22:54:39 +00:00
778850d88f
os.path.join yerine util.join_path kullanılsın
Faik Uygur
2005-10-29 22:09:03 +00:00
ca7dc5a937
yanlislikla gonderdigim configfile eski haline gelsin :(
A. Murat Eren
2005-10-29 18:49:53 +00:00
49526fa770
os.path.join yerine util.join_path kullanalim..
A. Murat Eren
2005-10-29 18:48:13 +00:00
d94496f2e7
* patch for rebuilddb command from Faik Uygur
Eray Özkural
2005-10-29 18:11:07 +00:00
a0b58a8c2a
fetcher icin resume test..
A. Murat Eren
2005-10-28 20:17:14 +00:00
7d49da444d
make pythonmodules.compile() work...
Barış Metin
2005-10-28 19:51:45 +00:00
80395a30b4
DTD yi biraz gevşettim, maalesef dtd dandik bir standart. Ama olduğu kadar validate etsin, gene bazı hatalar buluyor. Daha düzgün harici validasyon için bir schema hazırlarız, ve asıl işi her halükarda pisi yapacak zaten.
Gürer Özen
2005-10-27 20:47:46 +00:00
72a4d291eb
* fix: the pending flag is set also when comar is ignored (which might be taken to imply that postinstall is postponed, but we don't have implications in Options right now...)
Eray Özkural
2005-10-27 00:28:22 +00:00
d09ab66e8e
* use the poor gnu hello-1.3 instead of the chunky popt
Eray Özkural
2005-10-27 00:22:22 +00:00
f109b4bd1e
* use a testcase class for proper API init/shutdown, if that doesn't work, nothing will anyway :) - this new class uses the tmp dir * make the test cases that access pisi dirs, etc. derive from the new testcase class * a silly Option class in config module for those who want to give options from API. We should have default values there, too (it seems!) * several fixes in tests, remove old style config accesses etc.
Eray Özkural
2005-10-26 23:28:14 +00:00
081a980268
* autoxml: smart setting of default path for list types! * fix several errors in specfilenew! too many to list here! * we're really in business now :)
Eray Özkural
2005-10-26 22:34:02 +00:00
cb6d7fef3e
fix archive tests
Barış Metin
2005-10-26 22:05:16 +00:00
1ae72b27e9
fix test data
Barış Metin
2005-10-26 22:04:17 +00:00
c4ecbe0869
fix
İsmail Dönmez
2005-10-26 22:00:17 +00:00
a955e212ce
remove_prefix hem fonksiyon ismi hem de değişken ismi olarak kullanılmış. Lisp kullansak böyle olur muydu ACABA?
İsmail Dönmez
2005-10-26 21:46:34 +00:00
66fb732159
* move the jokes to misc. suggestions for those who are still reading :)
Eray Özkural
2005-10-26 21:35:58 +00:00
999e14ceea
fix installdb and packagedb tests
Barış Metin
2005-10-26 21:35:30 +00:00
d0d5578cec
it was not possible to finalize and than initialize later after importing the db modules. make the globals in db modules None and leave the rest to python.
Barış Metin
2005-10-26 21:35:05 +00:00
4f68eff8ca
* express the concern about parenthetical expressions in more polite language * additional recommendations and a link to PEP 8 * would still need reorg... most of those aren't guidelines, just suggestions.
Eray Özkural
2005-10-26 21:29:58 +00:00
4678b3c4b7
"By definition, a unit test is an independent unit of testing" exa
Barış Metin
2005-10-26 21:09:48 +00:00
aefd42348d
add some notes on unit tests.
Barış Metin
2005-10-26 20:35:34 +00:00
0da7c4c3e0
* revert the list spec to the old flexible way, specfile requires that :(
Eray Özkural
2005-10-26 19:05:03 +00:00
51d35343e6
add test
Eray Özkural
2005-10-26 18:48:46 +00:00
e2c4fd422b
* add a hook for check() function * remove the stupid code that tried to add XmlFile as a base class
Eray Özkural
2005-10-26 18:39:33 +00:00
07b2c79f5e
* Release -> release, we're case sensitive * source is not a list * some more working no XmlFile support in autoxml, looking for a way :(
Eray Özkural
2005-10-26 18:32:58 +00:00
42719e7329
* autoxml: add a "where" identifier for errror checking in decode and check methods, for now. (maybe we can find a better soln)
Eray Özkural
2005-10-26 16:27:12 +00:00
4c1a99b6ae
* add the metaclass test from new style classes paper
Eray Özkural
2005-10-26 15:56:50 +00:00
d97f4e3773
* we're in business, use XmlFile as a baseclass now in a somewhat kludgey way, for testing purposes (the automatic addition of XmlFile as a base class doesn't work yet)
Eray Özkural
2005-10-26 15:55:56 +00:00
040a1aa28a
Fix one str & one int << Mom! PiSi is being a dildo! >>
İsmail Dönmez
2005-10-26 15:48:49 +00:00
2681758304
* minor
Eray Özkural
2005-10-26 15:21:54 +00:00
e153767660
çalış
İsmail Dönmez
2005-10-26 14:58:53 +00:00
e9052bc8f9
* fix: use build number in output filename * package_prefix -> package_suffix :) * small comments
Eray Özkural
2005-10-26 14:41:52 +00:00
105b4aaf58
* add wildcard support to paths in files section 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
2005-10-26 13:58:45 +00:00
135ee9668a
* update po
Eray Özkural
2005-10-26 12:10:59 +00:00
69e06c386b
* fix: there is a canonical way optional tags are created
Eray Özkural
2005-10-26 11:37:31 +00:00
706d18d1d7
size in files is made optional (with commit 3922) so we must handle it carefully while creating nodes not to get errors like below:
Barış Metin
2005-10-26 11:21:04 +00:00
934556dde8
* improve specfilenew a little
Eray Özkural
2005-10-25 15:40:22 +00:00
8a4a47ac00
* distinguish String and Text types for autoxml * 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
2005-10-25 15:23:47 +00:00
d0a2d7a285
* test autoxml.check
Eray Özkural
2005-10-25 14:20:52 +00:00
9eefc6aa66
* add a check method to autoxml classes
Eray Özkural
2005-10-25 14:20:32 +00:00
8f91cadcf5
* fix: no exec flag
Eray Özkural
2005-10-25 12:47:06 +00:00
b86dd87a49
* grant database read access to world by default
Eray Özkural
2005-10-25 12:45:45 +00:00
2ac8bc88b2
* fix: clear pending state properly in database (thanks to caglar for showing me this, i've forgotten it)
Eray Özkural
2005-10-25 11:41:09 +00:00