[Gelistirici] [Uludag-commits] r14127 - trunk/pisi/pisi

S.Çağlar Onur caglar at pardus.org.tr
28 Mayıs 2007 Pzt 23:35:53 EEST


Selamlar;

28 May 2007 Pts tarihinde, uludag-commits at pardus.org.tr şunları yazmıştı: 
> Author: caglar
> Date: Mon May 28 23:29:55 2007
> New Revision: 14127
>
> Modified:
>    trunk/pisi/pisi/operations.py
> Log:
> - Örneğin tek paket olan bir depomuz var (içinde comar olsun)
> - Ve tüm depoları kaldırıp o depoyu kullanmaya karar verelim
>
> pisi up --dry-run
> ...
> python bağımlılığı, comar paketi için sağlanamadı
> Program sonlandırıldı
> Yükseltme mümkün değil
>
> - Oysa python paketi _sistemde_ kurulu,
> pisi info python
> Yüklü paket:
> Ad: python, versiyon 2.4.4 ....
> ...
>
> Bu commit önce depoya bak _varsa_ sende kurulu mu diye bak mantığını.
> Depoda veya sende varsa haline çekiyor
>
>
>
> Modified: trunk/pisi/pisi/operations.py
> =================================================================
> --- trunk/pisi/pisi/operations.py	(original)
> +++ trunk/pisi/pisi/operations.py	Mon May 28 23:29:55 2007
> @@ -537,10 +537,9 @@
>              pkg = pisi.api.get_repo_package(x)
>              for dep in pkg.runtimeDependencies():
>                  # add packages that can be upgraded
> -                if dependency.repo_satisfies_dep(dep):
> -                    if ctx.installdb.is_installed(dep.package):
> -                        if dependency.installed_satisfies_dep(dep):
> -                            continue
> +                if dependency.repo_satisfies_dep(dep) or
> ctx.installdb.is_installed(dep.package): 
> +                    if 
> dependency.installed_satisfies_dep(dep):
> +                        continue
>                      if not dep.package in G_f.vertices():
>                          Bp.add(str(dep.package))
>                      G_f.add_dep(x, dep)
> _______________________________________________

Pisi'nin kriptik dep. koduna ilk defa uzun uzun baktım/bende bir sorun 
çıkartmadı /hem çözdüğü bu tek depo/tek paketli senaryo hemde çoklu depoda 
ama genede Faik bir ciddi göz atıp ACK/NACK der misin?

Saygılar
-- 
S.Çağlar Onur <caglar at pardus.org.tr>
http://cekirdek.pardus.org.tr/~caglar/

Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
-------------- sonraki bölüm --------------
A non-text attachment was scrubbed...
Name: kullanılamıyor
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://liste.pardus.org.tr/gelistirici/attachments/20070528/dedc8ab0/attachment-0002.pgp>


Gelistirici mesaj listesiyle ilgili daha fazla bilgi