5570 Commits

Author SHA1 Message Date
Faik Uygur 04d88e01e0 pisi li -b
lists installed packages without build nos.
2008-02-28 08:25:50 +00:00
Faik Uygur e63ef31522 Fix takeback problem with packages that has no build nos. 2008-02-28 08:04:31 +00:00
Faik Uygur 6cd10ad3e1 Add which_repo and which_source_repo helper functions 2008-02-27 13:42:59 +00:00
Faik Uygur 64854c4432 Do not try to install already installed 2008-02-27 08:03:48 +00:00
Faik Uygur 2fbe7c98e7 Takeback to a snapshot 2008-02-27 07:51:34 +00:00
Faik Uygur 7bcfb15444 Fix trying to remove a not installed package when returning the time after the operation #8 in the example 2008-02-26 14:05:45 +00:00
Faik Uygur 88ca19cde2 - set ignore_build_no
- fetch_remote_file should return a value for success
2008-02-26 13:58:21 +00:00
Faik Uygur deb0c119ad Download all before installing, report errors 2008-02-26 09:34:39 +00:00
Faik Uygur aaf2b1dfea Update takeback doc 2008-02-22 14:16:16 +00:00
Faik Uygur 3719e5201c dummy workaround for default pisi hs 2008-02-22 09:51:24 +00:00
Faik Uygur 604818c4e0 pisi hs --takeback <operation no>
Takes back the system to the state after the given operation finished.

Taking back to a snapshot and taking real action (installing and removing packages)
is not done yet. But we are there already. :)
2008-02-22 09:46:31 +00:00
Faik Uygur 8d5924ef5e Do not format this int. 2008-02-20 13:25:06 +00:00
Faik Uygur fdadb16e67 pisi 2.0_alpha2 2008-02-20 12:07:28 +00:00
Faik Uygur c18bd15e64 Add emerge as pisi history operation 2008-02-20 10:06:23 +00:00
Faik Uygur f1663fb54d Do not create .orig files after patching 2008-02-20 09:52:41 +00:00
Mustafa Ölçerman 2fcd36b0fb German translations updated. 2008-02-19 19:10:14 +00:00
Faik Uygur 25f78d823a get_operation and get_till_operation 2008-02-19 14:40:57 +00:00
Faik Uygur a0da6826b9 Print operation no 2008-02-19 12:29:21 +00:00
Klemens Häckel d790fc3950 some additions in spanish language files, kh 2008-02-17 12:16:45 +00:00
Faik Uygur f8a2d9b469 * reverse history as in svn log or git log 2008-02-14 13:43:31 +00:00
Faik Uygur d65c0a7ca4 Fix some twisted logic and add remove_permanent param to remove_file.
From now on "pisi rm" operation will remove permanent files. Upgrades
will continue to not remove them.

BUG:FIXED:6938
2008-02-14 10:01:45 +00:00
S.Çağlar Onur d8bec3f09f duplicate ugly hacks/functions for blacklist support until its refactored, else 'pisi lu' shows blacklisted packages as upgradable 2008-02-14 00:51:08 +00:00
Bahadır Kandemir bdf8844a96 hah, this was for testing 2008-02-13 16:17:32 +00:00
Bahadır Kandemir c8cb6bd3d6 * Register only System.Package, System.Service and System.PackageHandler scripts only.
Other models in 2007 repo are not compatible with COMAR 2.0. You need to register 
  them manually from uludag/branches/comar-dbus/tests/

* Also try calling postInstall without version/release arguments.
2008-02-13 16:16:14 +00:00
Faik Uygur cf69af7085 Update 2008-02-13 12:54:35 +00:00
Faik Uygur 8ce4ffd313 This is a workaround for a fix side effect.
Duke should nuke pisi.file.File!!!

What ever the downloaded file is whether it is pisi package, xml metadata or
index file its specific needs should be handled outside of this class. Or at
least outside of one function and divided into meaningful small chunked
functions.

def __init__(self, uri, mode, transfer_dir = "/tmp", sha1sum = False, compress = None, sign = None)
def download(uri, transfer_dir = "/tmp", sha1sum = False, compress = None, sign = None, copylocal = False)

Yuck!
2008-02-13 09:01:57 +00:00
Bahadır Kandemir 22dee32051 prepend _ to package name, if it starts with digit.
set new bus destination after postinstalling comar
2008-02-12 22:25:24 +00:00
Bahadır Kandemir c5d1b12480 get comar bus address from context & remove self from patch 2008-02-12 13:50:17 +00:00
Faik Uygur 6b8f02617c Obsolete info from a source repo should effect the system 2008-02-12 08:52:55 +00:00
Faik Uygur d009a2fdad Add pisi history --snapshot cmd 2008-02-11 12:32:16 +00:00
S.Çağlar Onur 6ec978e8db yalandan lisans 2008-02-10 23:51:05 +00:00
Faik Uygur 109de92472 Onur san wanted to differentiate packages without build nos. 2008-02-08 20:03:00 +00:00
Faik Uygur aa64aef50b Add pisi history command 2008-02-08 13:27:33 +00:00
Faik Uygur ef4e69af88 Initial pisi history cmd 2008-02-08 13:27:24 +00:00
Faik Uygur eb5386f17a - pisi check should check missing files and act accordingly
- ("/" + f.path) usage turned into unicode safe ("/%s" % f.path)

fixed by caglar
2008-02-07 14:17:32 +00:00
Ozan Çağlayan 9225c2fb79 fix the return value problem of the build method so that it does not return the files with '.delta.pisi' suffix. 2008-02-07 14:06:50 +00:00
Faik Uygur df12cf58f0 fix last commit 2008-02-07 13:04:18 +00:00
Faik Uygur 9e61466a19 Clean up install.tar.lzma and install.tar left in /var/pisi 2008-02-07 12:31:20 +00:00
Faik Uygur 0e3a795bc3 Add options.output_dir to api doc 2008-02-07 12:30:36 +00:00
Faik Uygur aa09fad0d9 pisi copies already existing local file to /tmp before reading
When "pisi info pkgname" is run, pisi finds the related metadata.xml file
under /var/lib/pisi/package/pkgname/metadata.xml. But then it copies the
file to /tmp before reading it.

Fix this weirdness by figuring remote and local files and read the localfile
from its location.

BUG:FIXED:5417
2008-02-06 14:03:45 +00:00
Faik Uygur 5e9a685edb pisi can read metadata and files of pisi files on the fly with no need to first
extract them to some place.
2008-02-06 12:23:37 +00:00
Faik Uygur 374716c296 Fix pisi info package.pisi 2008-02-06 09:23:52 +00:00
Faik Uygur 9f60eae446 merge ekin's bsddb patch from pisi-devel 2008-02-05 18:35:47 +00:00
Faik Uygur 840cb9eef9 Package was not been removed from db
If installed package version is greater than repository package, previous package is
not removed from db while downgrading.

A serious bug. Thanks Onur for reporting this. :)
2008-02-05 12:20:03 +00:00
Faik Uygur ae3aab75ba 2.0_alpha1 2008-02-04 14:25:00 +00:00
Faik Uygur 6385ff2e46 lzma 4.32 is not in 2007 or 2007-test. Revert this too,
for keeping 2007 compatilibity. For trunk/pisi please
use lzma 4.27.1 from stable.

For all 2008 spesific work please use branches/pisi-devel
2008-02-04 14:10:50 +00:00
Faik Uygur 61f13b9ac5 Revert to revision 16924 to keep 2007 compatibility
until a workable 2008 packages and environment is 
ready.
2008-02-04 13:41:09 +00:00
İsmail Dönmez ca3f92c481 Oops don't raise an error if ltmain.sh is not found 2008-02-04 09:27:14 +00:00
İsmail Dönmez bc34671da6 disable chrpath here too 2008-02-04 08:38:19 +00:00
İsmail Dönmez e27dd9ab63 if you find an ltmain.sh be sure to run libtoolize --copy --force so our libtool is used instead of some buggy version 2008-02-04 08:15:06 +00:00