Commit Graph

4773 Commits

Author SHA1 Message Date
Fatih Aşıcı f5005bb796 Take -D parameter into account when looking for file permission changes 2010-02-28 19:00:36 +00:00
Fatih Aşıcı 63e6498b5f Take -D parameter into account when checking files 2010-02-28 18:50:18 +00:00
Fatih Aşıcı 10669a97c2 Update ChangeLog 2010-02-28 18:32:32 +00:00
Fatih Aşıcı 812f81ee69 Show missing files in the output of pisi check 2010-02-28 18:32:24 +00:00
Fatih Aşıcı 31e35e9604 Check if the old and new paths refer to the same file when relocating or cleaning up.
This commit also fixes updates with delta packages when the destination
directory is "/" and fixes exceptions when an old file is not found.
2010-02-28 18:13:07 +00:00
Fatih Aşıcı f98a1d0d46 Update messages 2010-02-27 22:26:38 +00:00
Fatih Aşıcı 7741c72de2 Better 2010-02-27 22:09:06 +00:00
Fatih Aşıcı fcf0669476 Print human readable error messages. We must use str instead of unicode in order to use __str__ method of exception classes. 2010-02-27 21:32:58 +00:00
Fatih Aşıcı dbb9a91cd9 Remove redundant variable 2010-02-27 19:33:40 +00:00
Fatih Aşıcı 5504639ceb Install files into correct paths when the old package format is used.
This was a regression introduced when switching to python 2.6.
2010-02-27 19:29:09 +00:00
Serdar Dalgıç 1e8f3899bc warn_and_remove needs one more argument=repo 2010-02-23 13:18:00 +00:00
Fatih Aşıcı 7840983f1f Fix exceptions when path includes a trailing slash 2010-02-23 12:06:49 +00:00
Serdar Dalgıç dadaf38196 correct the function name. 2010-02-23 10:03:32 +00:00
Klemens Häckel 87de3694c1 update of some spanish language files (kh) 2010-02-23 00:47:55 +00:00
Fatih Aşıcı 5ac40e0e48 Create valid repos for test cases 2010-02-23 00:02:55 +00:00
Fatih Aşıcı ee085521db Fix archive tests 2010-02-22 21:53:31 +00:00
Fatih Aşıcı 980d491473 Add missing shebang 2010-02-22 21:31:08 +00:00
Fatih Aşıcı abd60acd98 Refactor get_file_type function 2010-02-22 17:56:03 +00:00
Fatih Aşıcı 5116d858c4 pisi 2.3_alpha1
This is the first alpha for the upcoming 2.3.x releases. This
release adds new features for building source packages on different
architectures.

Changes since 2.2.19
--------------------
Fatih Aşıcı (3):
      Allow comparing Version objects with strings
      Add target attribute to Archive tag. It can be used to extract the archive into a sub-directory.
      Remove the check for repository architecture

Gökçen Eraslan (1):
      Replace FileError with ctx.ui.error since FileError is defined in pisitoolsfunctions.

Ozan Çağlayan (8):
      Add Maintainer tag to components.xml.
      Handle possible None values for obj when the element is optional
      The size of the list doesn't really matter at all (#11818)
      Real fix for #6748: The exception is raised both in getcwd() and chdir()
      Blacklisted system.base packages aren't really ignored during update (#9991)
      Feature: Add ability to avoid source packages from building on specific architectures
      Feature: Use <AdditionalFiles> in <Source> tags
      Feature: Add ability to use multiple <Archive> tags for a source package

Serdar Dalgıç (1):
      Use glob.glob0 and lstrip instead of glob.glob to fix exceptions raising when an invalid file path is used.
2010-02-22 09:30:31 +00:00
Fatih Aşıcı 07deed2a3f Remove the check for repository architecture
The current infrastructure doesn't allow a unified repository for multiple
architectures.
2010-02-22 08:01:29 +00:00
Serdar Dalgıç f290b85cd7 Use glob.glob0 and lstrip instead of glob.glob.
Typos in filePaths in pspec.xml were sometimes ignored and abandoned files were not succesfully caught in some cases. Now it is fixed.

Thanks Fatih for the collaboration.
2010-02-22 06:47:48 +00:00
Fatih Aşıcı f394699f19 Add target attribute to Archive tag. It can be used to extract the archive into a sub-directory. 2010-02-20 20:42:20 +00:00
Fatih Aşıcı 4996e645fc Rename Pspec.set_archive as Pspec.add_arrchive in scenario api.
This was broken by multiple Archive tag support.
2010-02-20 15:38:22 +00:00
Doruk Fişek 18ca225e1e uniq -u 2010-02-20 13:17:32 +00:00
Fatih Aşıcı 769bd037f6 Update AUTHORS file, too. 2010-02-20 11:32:00 +00:00
Ozan Çağlayan c6bd5c330b We're using i686 instead of x86 2010-02-20 11:23:21 +00:00
Ozan Çağlayan b7959b878d Fix attribute 2010-02-20 11:22:09 +00:00
Ozan Çağlayan 531e4d86de Fix two fatal gettext errors 2010-02-20 11:13:27 +00:00
Fatih Aşıcı 04ad527ee7 Update MANIFEST.in file 2010-02-20 11:03:28 +00:00
Ozan Çağlayan f360ed48d1 Update translations 2010-02-20 10:55:50 +00:00
Ozan Çağlayan 56449263e9 Make this translatable 2010-02-20 10:53:58 +00:00
Ozan Çağlayan 22ee7fab52 Update translations 2010-02-20 10:52:10 +00:00
Fatih Aşıcı 712d4c10cd Update DTD file for Source/{AdditionalFiles,ExcludeArch} 2010-02-20 10:51:08 +00:00
Ozan Çağlayan 9b45604c58 Update translations 2010-02-20 10:44:03 +00:00
Ozan Çağlayan 85b7182272 Update NEWS 2010-02-20 10:40:52 +00:00
Ozan Çağlayan 490b383781 Already merged 2010-02-20 10:37:10 +00:00
Ozan Çağlayan 9b315ce0d2 Merged 2010-02-20 10:37:00 +00:00
Ozan Çağlayan 674dd8ea4e Feature: Add ability to use multiple <Archive> tags for a source package
You can now use 1 or more <Archive> tags in source packages to download more than 1
tarballs in workDir. This is especially useful for packages like thunderbird where
we're currently creating our own tarball to contain the source code + l10n files.

This will also be useful on some binary drivers which has different tarballs for
every architecture.

pisi will automatically chdir into the directory which matches pkgname-pkgversion. If
no directory matches this, you should provide WorkDir in actions.py as usually.

If you'd like to apply your patches to every subarchive directory, you'll have to
modify the patch levels and set WorkDir to "." (very very very rare case)

Example:

<Source>
  ..
  ..
  ..
  <Archive sha1sum=".." type="tarbz2">http://nvidia.com/driver_x86.tar.bz2</Archive>
  <Archive sha1sum=".." type="tarbz2">http://nvidia.com/driver_x86_64.tar.bz2</Archive>
</Source>
2010-02-20 10:36:40 +00:00
Fatih Aşıcı 8adab008cd Add ExcludeArch definition 2010-02-20 10:33:37 +00:00
Fatih Aşıcı 5b74d5a2b3 Fix rng file 2010-02-20 10:31:29 +00:00
Ozan Çağlayan 4fa7e142b5 Feature: Use <AdditionalFiles> in <Source> tags
Example:

<Source>
  ..
  ..
  ..
  <Archive ..>http://www.kernel.org/linux-2.6.32.tar.bz2</Archive>
  <AdditionalFiles>
   <AdditionalFile target="configs/kernel-i686-config">configs/kernel-i686-config</AdditionalFile>
   <AdditionalFile target="configs/kernel-x86_64-config">configs/kernel-x86_64-config</AdditionalFile>
   <AdditionalFile permission="0755" target="config.sh">configs/config.sh</AdditionalFile>
  </AdditionalFiles>
</Source>
2010-02-20 10:30:28 +00:00
Ozan Çağlayan 14d16b4452 Feature: Add ability to avoid source packages from building on specific architectures
Example:

<Source>
    <Name>psyco</Name>
    ..
    ..
    <ExcludeArch>x86_64</ExcludeArch>
</Source>

will avoid the package psyco from building on systems where pisi.conf->architecture == x86_64
2010-02-20 10:26:37 +00:00
Ozan Çağlayan c1309395f2 Update NEWS 2010-02-20 10:21:38 +00:00
Bahadır Kandemir ccf88e486e A simple library (and also a console utility) to sign/verify PISI (ZIP) packages. 2010-02-20 00:27:44 +00:00
Ozan Çağlayan f2fe26eab4 Initial start 2010-02-19 13:46:30 +00:00
Gökçen Eraslan 228b1080fa Replace FileError with ctx.ui.error since FileError is defined in pisitoolsfunctions. 2010-02-12 09:48:08 +00:00
Ozan Çağlayan f77b7e39bc blacklisted system.base packages aren't really ignored during update
BUG:COMMENT:9991
2010-02-11 21:08:42 +00:00
Ozan Çağlayan 308aa49ba6 Real fix for #6748: The exception is raised both in getcwd() and chdir()
BUG:COMMENT:6748
2010-02-11 21:07:01 +00:00
Ozan Çağlayan f2a15f39ba Add NEWS file 2010-02-11 21:04:31 +00:00
Ozan Çağlayan 4bc2b0d000 The size of the list doesn't really matter at all
BUG:FIXED:11818
2010-02-11 20:05:51 +00:00