5f9a78f62f
use tmp db for tests. (fixes#2672)
Faik Uygur
2006-05-05 09:07:02 +00:00
2496a27bd4
let there be a default for api usage.
Faik Uygur
2006-05-05 08:16:11 +00:00
7547c210e2
* some explanation about how to run the test suite
Eray Özkural
2006-05-04 16:59:37 +00:00
cafb0bf1f7
* fix: disable interrupt signal within exception handler (oops!)
Eray Özkural
2006-05-04 16:30:01 +00:00
915224d2c2
* fix: abort transactions in response to any unhandled exception, no transactions must be left dangling
Eray Özkural
2006-05-04 16:26:26 +00:00
c89a2ac36c
testler için
Gürer Özen
2006-05-04 11:38:53 +00:00
ac9fa73b54
* fix: make the other levels work * clean up the log without calling logging.shutdown(), this should make it possible to mix pisi logger with other loggers, and make it properly re-entrant. so much for an easy to use api!
Eray Özkural
2006-05-03 20:50:16 +00:00
fdb34a98c1
* fix: don't use basicconfig, instantiate handler manually, this becomes re-entrant now, and works with build farm, but downside: info messages don't show up!
Eray Özkural
2006-05-03 20:33:27 +00:00
b72eac4b6b
buildfarm'ı kırıyor (exception attığı için), düzeltilene kadar log = False
S.Çağlar Onur
2006-05-03 16:00:17 +00:00
4c2d1d7914
we dont need this anymore.
Faik Uygur
2006-05-02 19:36:48 +00:00
cc93ac772a
* fix: return set, instead of list
Eray Özkural
2006-05-02 16:53:54 +00:00
43869a5d73
* fix: add requested API for searching package names * fix: by default, search functions search also in package names in addition to summary and descriptions (thanks gokmen for reminding)
Eray Özkural
2006-05-02 16:51:13 +00:00
1f37cec1ec
* fix: use packagedb class correctly
Eray Özkural
2006-05-02 16:37:41 +00:00
65ba0dcf99
* fix: log to /var/log/ only if we have permission to write (not like syslog)
Eray Özkural
2006-05-02 16:31:15 +00:00
630febca69
* use a separate log file (/var/log/pisi.log) as onur asked
Eray Özkural
2006-05-02 13:48:10 +00:00
f7ca28eb53
* correct doc a bit
Eray Özkural
2006-05-02 12:52:11 +00:00
7c2774f50c
* get directory from pkg_debug_dir() for generated debug packages. This complements commits 7381, 7384, 7386, 7388 and fixes#2643.
Faik Uygur
2006-05-02 12:18:30 +00:00
a0942bd890
* log important events
Eray Özkural
2006-05-02 11:49:53 +00:00
a83cea09d6
strip(1) out should go to /var/tmp/pisi/hede-x.y/debug/xx/binary.debug instead of /var/tmp/pisi/hede-x.y/install/xx/binary.debug
Faik Uygur
2006-05-02 08:27:11 +00:00
89469e7d2e
let add_to_package support the file renaming in the zip archive with the committed change in 7384.
Faik Uygur
2006-05-02 07:22:01 +00:00
6798aa0150
zip_obj.write supports keeping the file with a different path and name in the zip archive. We will need this to zip /var/tmp/pisi/hede/debug/binary.debug as /var/tmp/pisi/hede/install/binary.debug. (debug/binary.debug -> install/binary.debug)
Faik Uygur
2006-05-02 07:11:52 +00:00
c46253f7a7
* çakışan paketler sistem paketi ise, emniyet mandalı sebebiyle kaldırılamadığı anlaşılsın ve işlem sonlandırılsın.
Faik Uygur
2006-04-25 22:06:41 +00:00
cdc8fbc981
* all source stuff was added in this release
Eray Özkural
2006-04-25 09:55:37 +00:00
83dd104666
* highlights of this release
Eray Özkural
2006-04-25 09:53:50 +00:00
1a842db6ee#2575 sonrası initvariable geldi
Faik Uygur
2006-04-25 08:11:20 +00:00
0f5d03b20f
back docstring back.
Faik Uygur
2006-04-24 21:16:36 +00:00
fc65be1e4f
Conflict kodu revize edildi. Depo'dan ve Dosya'dan kurulumda çalışsın. (#2548) Conflict kodu için unittest yazıldı.
Faik Uygur
2006-04-24 20:47:32 +00:00
17fc0eda63
hani diyorum ki, conf dosyasının yedeği, yeni paketinki üstüne yazılmadan alınsa daha iyi olur sanki. :P
Faik Uygur
2006-04-24 08:39:49 +00:00
9d92611ac6
leftover dışında kalan paketler içinde config filetypelılar olabilir. (#2607)
Faik Uygur
2006-04-24 08:16:07 +00:00
d4b85add57
better way to fix this. (eray)
Faik Uygur
2006-04-24 07:09:16 +00:00
e415630c6b
remove_pisi_files packagedb den aldığı bilgiler ile remove edemez. installdb den aldığı bilgileri kullanmalı. (#2604)
Faik Uygur
2006-04-23 21:06:06 +00:00
6b75de1410
Neyin hata olduğuna koşturan karar versin. (çağlar)
Faik Uygur
2006-04-22 15:32:23 +00:00
416d9ffa4b
kozmetik + os.uname kullan ne o öle?
S.Çağlar Onur
2006-04-22 01:46:50 +00:00
03be51abdb
fixy for Çağlar (aka 6-1)
Barış Metin
2006-04-21 11:05:17 +00:00
50f54fc544
Merge Eray's filesize fix from #7247. Without this "unzip -l" shows the uncompressed size information of the file as 0.
Faik Uygur
2006-04-21 08:58:04 +00:00
0827e642e3
This is not bright, we don't tag files in here. Use repos!
Barış Metin
2006-04-20 22:50:10 +00:00
73b4234e8f
revert 7247. this again breaks pisi and we don't want it while tring to build the packages for a new release. Experimental code and new features _will_ go to repos/pisi-new-features!
Barış Metin
2006-04-20 22:39:56 +00:00
838576fbe7
* improve the code so that it uses the factory pattern for both read and write * fix: set file size correctly for LZMA * add some comments, and also write the code for (fast) buffered decompression/compress but disable for now * support bzip2 that python guys forgot * the ID is now called ZIP_LZMA_BOGUS because 255 is a number that I made up, we'll get the real ID and add it soon. Until then, we are using this one and going to alpha with LZMA compression * build/install test successful with this commit (as was with the previous one?) * we are really close to 1.1 release because there are no important bugs with high priority right now.
Eray Özkural
2006-04-20 19:16:01 +00:00
3449d8cc65
* fix: remove a NOP line
Eray Özkural
2006-04-20 14:10:02 +00:00
c3f0a3b203
* improve zipext: - refactor to eliminate redundancy. better oo now - add Bzip2 *read* support only, nothing writes in APPNOTE so I just called it straight :)
Eray Özkural
2006-04-20 13:53:36 +00:00
6a033f1010
* fix: the simplest way to store source info in repository (a nice workaround)
Eray Özkural
2006-04-20 13:24:32 +00:00
c2fa9891a5
* because of a compatibility problem with building the index, can't make the package -> metadata change before all clients are updated and still have the source info . yes, i know this sounds silly. the new packagedb is tagged to packagedb-metadata.py
Eray Özkural
2006-04-20 13:03:20 +00:00
78878638e8
* this patch will have to wait for a while
Eray Özkural
2006-04-20 13:02:27 +00:00
36f57b5b3a
- fix a FIXME ;). - enable create-static and create-debug by default. (buildfarm creates these packages and packages created locally conflict with them, having the static files...)
Barış Metin
2006-04-20 09:43:41 +00:00
ff1fc4414d
watch it
Faik Uygur
2006-04-20 08:41:37 +00:00
8ca28c819a
Önce index dosyasına bak yoksa uri'den almaya çalış. add-repo sırasında şimdi update et demediyse, yalnızca uri dosyası vardır. Rebuild edilmeye çalışılan depo'unun dosyasına diskte ya da nette ulaşamazsa da, uyar ve diğerleriyle devam et.
Faik Uygur
2006-04-20 08:26:27 +00:00
ebd5d2e480
* we now store metadatas instead of package objects, no info loss, this is working towards fixing a bug * fix: pardus-1 doesn't work this version of pisi so back to pardus-1-test * fix: index dir might not be there, and use index_dir()
Eray Özkural
2006-04-19 23:35:47 +00:00
7c596671f4
FileEntry super class needed returnedBytes field for DeflatedZipEntry class. skipped ZIP_7ZIP -> ZIP_LZMA change.
Faik Uygur
2006-04-19 16:49:14 +00:00
6b4138152c
run update-po.sh
İsmail Dönmez
2006-04-19 14:07:12 +00:00
33db732690
* arrange a bit, factor out a superclass * it's called LZMA
Eray Özkural
2006-04-19 14:05:44 +00:00
d2195dd3d1
index non-recursive yapılabilsin. (--non-recursive or -R)
Faik Uygur
2006-04-19 13:45:48 +00:00
21e5db065d
- add stderr and stdout to api.init() // this is needed for buildfarm. - use subprocess and be consistent on return value in util.run_batch()
Barış Metin
2006-04-19 13:33:09 +00:00
5b3d828fc3
write haklı bir pisi çalışıyorsa, ikinci pisi dbenv'ı hiç açamadan hata mesajı verip, sonlansın (#1958)
Faik Uygur
2006-04-19 08:28:54 +00:00