Commit Graph

4868 Commits

Author SHA1 Message Date
Ozan Çağlayan 6947fc5386 sys is not used, drop unused install_dir parameter and old_package_name variable 2009-09-16 12:58:11 +00:00
Ozan Çağlayan db91cf9029 * pisi/operations/build.py (Builder.file_actions): Use python magic
module instead of spawning file process to improve performance.
2009-09-16 12:42:39 +00:00
Ozan Çağlayan 909d05ba8b * pisi/archive.py (ArchiveBzip2): Implement ArchiveBzip2 to support
.bz2 archive files.
2009-09-16 12:13:50 +00:00
Faik Uygur 9c58fa9b39 onur is using this, and finds it helpfull revert for now 2009-09-10 13:03:18 +00:00
Faik Uygur a72a7e4563 Do not show ? for packages without build no, it is confusing 2009-09-10 12:21:29 +00:00
Faik Uygur 29ce667433 fix for permission error for not owning dir... eitherway process returns to cwd when finished
BUG:FIXED:6748
2009-09-10 06:26:13 +00:00
Faik Uygur af5a470fe9 colorize pisi lr output (Serdar Dalgıç)
BUG:FIXED:10872
2009-09-09 08:59:06 +00:00
Faik Uygur 6160b87d58 check inactive repos also while adding a new repository (Serdar Dalgıç)
BUG:FIXED:10873
2009-09-09 08:56:43 +00:00
Faik Uygur fe34b86a7c Add fetch command...
faik@pluto ~ $ pisi fetch amsn
amsn package found in pardus-2009 repository
amsn-0.98b_11234-25-5.pisi     (3.5 MB)100%      1.88 MB/s [00:00:00] [tamamlandı]

or

pisi fetch -o output_dir amsn
2009-09-09 08:52:17 +00:00
Faik Uygur f005a049b6 make unpisi work
BUG:FIXED:10892
2009-09-09 08:29:19 +00:00
Faik Uygur 3d8470e68f Emerge should install the package whether it is installed or not
BUG:FIXED:11004
2009-09-09 07:56:23 +00:00
Ozan Çağlayan ecbfb44670 pisi/specfile.py (read_translations): Fix matching of translations
against sub-packages.
2009-09-08 08:45:01 +00:00
Faik Uygur 2e6edcf631 Any package should remove the package it replaces before it is installed.
This is a fix for a problem where a package replaces another in system.base
User tries to install a single package outside of system.base .. safety
forces to install the system.base packages... but because the package does
not remove the replaced package before it gives file conflicts an stops
installation. (udev - udev-extras ex.)
2009-09-08 08:35:17 +00:00
Faik Uygur 49b49aa0a5 remove for now 2009-09-03 12:26:35 +00:00
Philippe Svetoslavsky 1f340fead4 minor french translation modifications 2009-09-02 19:37:43 +00:00
Faik Uygur fff1a706ee reset command for interrupted builds 2009-09-02 06:29:09 +00:00
Faik Uygur fb4c794593 pisi sandbox build - build with only base and devel
Usage:

# create your build dir and enter
$ mkdir build
$ cd build

# create your sandbox
$ pisi-sandbox create

# build whatever package you like
$ pisi-sandbox build http://svn.pardus.org.tr/pardus/2009/devel/network/analyzer/traceroute/pspec.xml

Currently tmpfs is using 1GB of ram... this can be decreased or increased or no tmpfs can be used but
disk can be used... but after build when tmpfs is unmounted, memory is the fastest to clean everything.
2009-09-01 12:14:55 +00:00
Anton Tolboom ce57478ad5 Dutch language update of /trunk/pisi/po/nl.po 2009-08-31 19:28:42 +00:00
Philippe Svetoslavsky eec38a0916 2009-08-26 18:16:58 +00:00
Faik Uygur c5e9c07734 Remove unfound local repos, too... 2009-08-25 13:07:16 +00:00
Faik Uygur 798400645c either it is config file or not... remove empty dirs 2009-08-25 08:55:40 +00:00
Ozan Çağlayan 29a30bceb2 Minor cosmetic fixes, don't search debug dir 2009-08-25 07:52:05 +00:00
Fatih Aşıcı 83c59d11f0 Remove redundant arcname variable. Get rid of lstrip. 2009-08-23 05:08:02 +00:00
Fatih Aşıcı 2d2cbc1b8b Use remove_suffix instead of rstrip 2009-08-23 04:45:44 +00:00
Fatih Aşıcı 60b44c4e58 Add suffix and remove_suffix functions similar to prefix and remove_prefix 2009-08-23 04:00:51 +00:00
Fatih Aşıcı cfb43d7d51 Normalize target paths of symbolic links.
BUG:FIXED:10976
2009-08-23 03:43:36 +00:00
Fatih Aşıcı d269debdec Add optional destDir parameter to pisitools.dohtml as pisitools.dodoc supports 2009-08-22 08:48:29 +00:00
Philippe Svetoslavsky 8fd06249a3 Complete french translation 2009-08-20 22:38:52 +00:00
Faik Uygur 7a76b6ff1c This should make AnyDependency work
Now

pisi it installs the first dependency of AnyDependency if none of them is installed

pisi rm package removes the reverse dependency of any other package in AnyDependency,
in other words, AnyDependency siblings of the to be removed package, is installed and
satisfies AnyDependency, then rev dep is not removed.
2009-08-20 12:32:51 +00:00
Ozan Çağlayan 1831c400e6 Replace if by elif, fix indentation problem 2009-08-17 10:48:16 +00:00
Ozan Çağlayan ed0f16f46e Do it correctly 2009-08-17 09:31:10 +00:00
Ozan Çağlayan 8c7f1724b5 Revert kernel module stripping for now 2009-08-17 09:28:24 +00:00
Faik Uygur 1a36d447d5 make it shorter as with the other package operations: install, upgrade, remove 2009-08-17 08:28:19 +00:00
Faik Uygur d2b3c68f83 Add fetch_package to pisi.api. This only fetches the given package from the repositories. 2009-08-17 08:27:27 +00:00
Faik Uygur aed2b2e27c pisi 2.2.12 2009-08-17 06:53:59 +00:00
Faik Uygur b1b1473368 Update translations 2009-08-17 06:52:53 +00:00
Faik Uygur 09a2a401bd more description, also for translations 2009-08-17 06:49:42 +00:00
S.Çağlar Onur b9f6f0eba5 handle not-existed working directory problems instead of giving following exceptions
Geri izleme verisi:
  File "/usr/bin/pisi", line 80, in <module>
    cli.run_command()
  File "/usr/lib/pardus/pisi/cli/pisicli.py", line 140, in run_command
    self.command.run()
  File "/usr/lib/pardus/pisi/cli/build.py", line 114, in run
    pisi.api.build(x)
  File "/usr/lib/pardus/pisi/api.py", line 802, in build
    return pisi.atomicoperations.build(*args, **kw)
  File "/usr/lib/pardus/pisi/atomicoperations.py", line 612, in build
    return pisi.operations.build.build(package)
  File "/usr/lib/pardus/pisi/operations/build.py", line 1035, in build
    result = pb.build()
  File "/usr/lib/pardus/pisi/operations/build.py", line 253, in build
    self.run_setup_action()
  File "/usr/lib/pardus/pisi/operations/build.py", line 391, in run_setup_action
    if self.run_action_function(ctx.const.setup_func):
  File "/usr/lib/pardus/pisi/operations/build.py", line 489, in run_action_function
    os.chdir(self.srcDir)


Geri izleme verisi:
  File "/usr/bin/pisi", line 80, in <module>
    cli.run_command()
  File "/usr/lib/pardus/pisi/cli/pisicli.py", line 140, in run_command
    self.command.run()
  File "/usr/lib/pardus/pisi/cli/build.py", line 112, in run
    pisi.api.build_until(x, ctx.get_option('until'))
  File "/usr/lib/pardus/pisi/api.py", line 799, in build_until
    return pisi.operations.build.build_until(*args, **kw)
  File "/usr/lib/pardus/pisi/operations/build.py", line 1109, in build_until
    __buildState_unpack(pb, last)
  File "/usr/lib/pardus/pisi/operations/build.py", line 1059, in __buildState_unpack
    pb.unpack_source_archive()
  File "/usr/lib/pardus/pisi/operations/build.py", line 384, in unpack_source_archive
    if self.apply_patches():
  File "/usr/lib/pardus/pisi/operations/build.py", line 607, in apply_patches
    pisi.util.do_patch(self.srcDir, patchFile, level=patch.level, name=relativePath)
  File "/usr/lib/pardus/pisi/util.py", line 449, in do_patch
    os.chdir(sourceDir)
2009-08-15 20:26:51 +00:00
Patrik Karlsson 79e8ffebee Swedish translation. 2009-08-14 13:40:58 +00:00
Faik Uygur a57e7c983d update cl 2009-08-14 07:09:33 +00:00
Faik Uygur 8838a51b5b tarZ support for archives (Serdar Dalgıç) 2009-08-14 07:08:38 +00:00
Faik Uygur 3216586d1a Advanced search parameters added. pisi can now search only by name, summary
or description of a package. (Jérôme Schneider)
2009-08-12 06:12:26 +00:00
Serdar Dalgıç f33cb88109 * (cli/build.py): pisi build command now works in debug mode unless -q
or --quiet parameter is passed.

BUG:FIXED:10052
2009-08-11 15:13:07 +00:00
Faik Uygur 61224364e2 get_package is much appropriate 2009-08-11 07:17:38 +00:00
Ozan Çağlayan 36709d22a9 Use long format for a readable code, don't forget strip-debug for kernel modules as they won't be loadable at all 2009-08-10 10:36:32 +00:00
Ozan Çağlayan 444b85d23c Update changelog 2009-08-07 13:31:34 +00:00
Ozan Çağlayan 7c64b9fa04 Generate dbginfo packages for kernel and kernel modules 2009-08-07 13:30:58 +00:00
Fatih Aşıcı cd45f31327 More TODO items 2009-08-07 11:56:31 +00:00
Fatih Aşıcı 9bc8f9dd58 Support should be added to pass a source directory to dodoc 2009-08-07 11:41:48 +00:00
Ozan Çağlayan cf7c564e09 Update docstring 2009-08-07 08:07:26 +00:00