S.Çağlar Onur
2053c2103c
Exception handling
2005-08-05 18:58:59 +00:00
S.Çağlar Onur
401c6033ce
re-factor continues and some cosmetic changes for our coding standarts
2005-08-05 17:40:51 +00:00
S.Çağlar Onur
58435681d2
What is that :P
2005-08-05 15:28:17 +00:00
Barış Metin
6945cd0089
remove unused import (util). do not re-import from minidom, use mdom instead (xmlfile).
2005-08-05 03:24:24 +00:00
Barış Metin
6513885ed4
- install_pkg_files() returns None imlicitly while returning "False"
...
for an error. Make it to return True if all goes well :).
- "from index import Index" is not necessary in functions. Index is
imported at the top of the module.
2005-08-05 03:17:41 +00:00
Barış Metin
8603c765ce
Damn!... It's my fault. I haven't realized that bitwise magic.
...
Reverting the previous commit.
Need to go to sleep :(.
2005-08-05 03:08:08 +00:00
Barış Metin
c653f91c43
Eray, please check DepInfo.satisfies for correctnes.
...
In the old version it would only return False if the last control
(releseTo) fails. I'm pretty sure this is not what you want.
An other issue is pkg_name parameter. It isn't used in the function.
2005-08-05 02:59:18 +00:00
Barış Metin
bfd9d6169f
use locally-binded spec :).
2005-08-05 02:44:44 +00:00
Barış Metin
d6ddf5407c
Eray, please re-check add_conflict() for correctness.
...
graph.add_biedge gets 2-3 arguments but 5 is passed.
2005-08-05 02:41:58 +00:00
Barış Metin
90b0d359ff
return None explicitly.
2005-08-05 02:34:09 +00:00
Barış Metin
fe2aa44fc9
inherit from Exception. properly raise PackageError.
2005-08-05 02:33:06 +00:00
Barış Metin
1c8d720494
packagedb is allready imported. no need to import again, rebinding the
...
member is just OK.
2005-08-05 02:31:32 +00:00
Barış Metin
54b32c3bcd
inherit Exception.
2005-08-05 02:28:30 +00:00
Barış Metin
3c0fa98e6d
setattr returns None, so does delattr
2005-08-05 02:26:48 +00:00
Barış Metin
ea746576da
setattr allways return None
2005-08-05 02:23:25 +00:00
Barış Metin
2b5d15234d
non-static class methods should have self as the first parameter
2005-08-05 02:17:42 +00:00
Barış Metin
7bf6c95ec7
New comariface module by Gurer
2005-08-04 22:57:57 +00:00
S.Çağlar Onur
ff8eec8c19
ls ve copy
2005-08-04 16:16:25 +00:00
Barış Metin
3863675438
new TODO item: i18n support.
2005-08-04 04:23:40 +00:00
Barış Metin
9394aa0b8d
It seems that sandbox.zip is removed from its location. I've created a
...
new zip file with the required specialities and updated the test.
2005-08-04 04:08:29 +00:00
Barış Metin
448bde24db
cleaning work_dir() is done in sourcearchive.py:unpack() with a
...
cleanDir parameter to archive.unpack(). Its useless
to do it here...
2005-08-03 20:49:59 +00:00
S.Çağlar Onur
53cbccf977
* WorkDir must cleaned before unpack and InstallDir must cleaned before install actions...
2005-08-03 20:34:43 +00:00
S.Çağlar Onur
c908e666de
domove 3. parametre ile dosya isim değiştirdiği durumları kontrol ediyor...
2005-08-03 20:26:53 +00:00
Barış Metin
661aa7b4e9
handle keyboard intterupt.
...
We should also change actionsAPI not to execute system commands
uncontrolled. Nothing should print the screen directly, but os.system
do...
2005-08-03 19:46:01 +00:00
S.Çağlar Onur
915408a199
* build.py: Build states set by functions, Little typo fix
...
* toplevel.py: setStates calls removed
* common.py and commands.py: build-do* calls renamed as build-*
2005-08-03 19:34:54 +00:00
Barış Metin
9de62cb9d8
check the source archive's hash before unpack.
2005-08-03 19:09:33 +00:00
S.Çağlar Onur
83ca3b9a85
Get rid of flags...
2005-08-03 18:58:25 +00:00
S.Çağlar Onur
0f23668367
TYPO corrected, no need to intermediate variables like host, flags = glb.flags removed
2005-08-03 17:58:21 +00:00
Barış Metin
2f20642a97
Flags class is useless as it doesn't have any state or data to carry
...
with. For exporting variables a function is sufficient.
2005-08-03 17:44:16 +00:00
Barış Metin
b96fc72195
more on exception handling.
...
FIXES: bug #334
2005-08-03 17:06:41 +00:00
S.Çağlar Onur
9fea12c94e
coreutils geri geldi [paketlerin kullanması için]
2005-08-03 16:57:12 +00:00
S.Çağlar Onur
a0ead22e78
* dolib'lerin wrapperlık yaptığı fonksiyon eklendi
2005-08-03 16:56:22 +00:00
S.Çağlar Onur
dfea68c50c
* flaglar variables içine taşındı, get bunları env ile alıyor
2005-08-03 16:55:51 +00:00
S.Çağlar Onur
c24cbc045c
* dolib serisi eklendi
2005-08-03 16:54:57 +00:00
S.Çağlar Onur
5f310cd835
+doc
2005-08-03 16:54:25 +00:00
S.Çağlar Onur
69c15c114f
build öncesi work ve install klasörleri temizlensin...
2005-08-03 14:25:46 +00:00
Eray Özkural
0f833edc0c
* bugzilla kullanacagiz artik
2005-08-02 00:24:26 +00:00
Barış Metin
3c626af141
böyle bir bug yok artık. halen alt komut parametrelerinin
...
iyileştirilmesi gerekiyor fakat şu anda çalışıyorlar.
2005-08-01 19:30:56 +00:00
Barış Metin
a8f8076fbd
list-available komutumuz çalışıyor.
2005-08-01 13:42:19 +00:00
Barış Metin
32cdd015c5
alpha.sh şu anda çalışıyor.
2005-08-01 12:49:28 +00:00
Barış Metin
bf100a353d
otomatik help oluşturma...
2005-08-01 12:36:09 +00:00
Barış Metin
b0081ed505
bir bug...
2005-08-01 12:19:44 +00:00
Eray Özkural
65f40cd53b
* soyle bir sey mumkun, inst'de vardir, ama ne repolarda, ne de
...
thirdparty'de vardir. bu yuzden son care olarak inst'e de bakiyoruz artik.
2005-08-01 10:22:24 +00:00
Eray Özkural
872e8e31f6
* sirayi duzelt
2005-08-01 10:19:46 +00:00
Eray Özkural
3dc0d5a4fd
* alpha.sh kirilip dokuluyor ne yazik ki henuz
2005-08-01 09:13:06 +00:00
Eray Özkural
eada186586
* fix long standing bug
2005-08-01 08:56:24 +00:00
Barış Metin
cbd2d991f9
paket kurulumları sırasında dependency problemi çıkığında traceback
...
yerine bir hata mesajı çıkartalım. insanlar denemeye başladığında korkmasınlar.
2005-08-01 00:36:59 +00:00
Barış Metin
98dc869536
actionsapi refactor edildikten sonra gnuconfig diye bir modül kalmadı.
2005-08-01 00:23:20 +00:00
Barış Metin
f2555a8023
setup.py dosyamızı düzenledim.
...
Ek olarak dışarıdan test edenlerin kullanmaları için bir version'a svn
revision'ı ekleyen bir kod koydum.
Buradan setup.py sdist ile tar arşivi oluşturup dağıttığımızda insanlar
hangi svn sürümünden oluşturulmuş pisi'yi kullandığını da görmüş
olurlar. Tabi bu özelliği ileride kaldırırız ya da
değiştiririz. Şimdilik güzel olur diye düşündüm :).
Daha önce distutils kullanmamış olanlar için:
$ sudo python setup.py install
pisi'yi sisteme kurar
$ python setup.py sdist
bir tar arşivi oluşturup 'dist' dizinine yerleştirir.
2005-08-01 00:15:10 +00:00
Barış Metin
8b51f08969
COPYING dosyamız da eksik kalmasın
2005-07-31 23:10:27 +00:00