5570 Commits

Author SHA1 Message Date
Ozan Çağlayan afe5a521f2 actionsapi/kerneltools: Refactor 2010-09-27 08:27:03 +00:00
Fatih Aşıcı cb6071ff65 config: Create directories if we have write access
Also rename util.check_dir to util.ensure_dirs.

BUG:FIXED:14000
2010-09-26 15:23:24 +00:00
Fatih Aşıcı c7c3d36bef cli/build: If spec file is not given, fallback to ./pspec.xml 2010-09-26 13:36:09 +00:00
Fatih Aşıcı d46ce2ac20 installdb: Real fix when Package tag is missing 2010-09-26 11:42:07 +00:00
Fatih Aşıcı 1f22537d0a build: Try WorkDir="." for archives with type "binary" 2010-09-26 11:05:39 +00:00
Fatih Aşıcı d2a84751cc build: Fail if user-defined WorkDir does not exist 2010-09-26 10:52:40 +00:00
Fatih Aşıcı c9f32a7bbc index: Add --compression-types option
With this option, the compression type of index file can be selected.
It is possible to pass multiple types separated by comma.

e.g. pisi index --skip-signing --compression-types=bz2,xz
2010-09-26 10:33:27 +00:00
Fatih Aşıcı 9ca6e16436 file: Handle all compressed files
Now it signs all compressed index files and calculates sums
of them.
2010-09-26 10:33:23 +00:00
Fatih Aşıcı 2453c77206 cli/index: Code style fixes and simplifications
Also remove a redundant info message.
2010-09-26 09:24:16 +00:00
Fatih Aşıcı 2a9909d4a8 file: Modify File class to accept multiple compression types 2010-09-26 09:06:26 +00:00
Fatih Aşıcı f2e13332d8 file: Remove unused gzip enum 2010-09-26 09:06:18 +00:00
Fatih Aşıcı b0ce7f2939 build: Guess WorkDir from archive name
If defined, use WorkDir in actions.py. If it is not defined or the
directory does not exist, first try "srcname-version" then the
basename of archive URL after splitting extensions.
2010-09-25 21:31:19 +00:00
Fatih Aşıcı aab6c1cbdd specfile: Replace "current" string in release/version values
With this feature, it is not necessary to hardcode versions/releases
used in inter-dependencies.

    <RuntimeDependencies>
        <Dependency release="current">xorg-server-common</Dependency>
    </RuntimeDependencies>

The "current" value will be replaced by the release of the source
package that this spec file defines. This is done when building
the package so that binary packages and index files do not include
"current" string.
2010-09-25 20:17:04 +00:00
Fatih Aşıcı 93a755e8dc installdb: Check if some mandatory tags in metadata.xml exist 2010-09-23 07:54:59 +00:00
Fatih Aşıcı b2cfafcabe build: Move build number warning to the end
Otherwise it prints this warning for each sub-package.
2010-09-22 10:51:25 +00:00
Fatih Aşıcı f563c616cc build: Add dependencies of debug packages
Currently, it only adds "foo" dependency to "foo-dbginfo" package.
2010-09-22 09:07:14 +00:00
Gökçen Eraslan 04e0bd121a actionsapi/pisitools: Fix copy/paste typo 2010-09-22 08:39:01 +00:00
Fatih Aşıcı 514f90c3c4 build: Generate a debug package for each sub-package
This commit also changes the behavior when a sub-package does not
contain any files. Such packages will not be built and a warning
will be printed for each empty package.
2010-09-22 08:02:45 +00:00
Fatih Aşıcı f212487d34 specfile: Make package descriptions mandatory again 2010-09-21 13:39:30 +00:00
Fatih Aşıcı 34db2b1918 build: Fix typo in path collision check 2010-09-21 13:25:09 +00:00
Ozan Çağlayan 1313d51205 actionsapi/kerneltools: Don't show section mismatches 2010-09-15 13:09:38 +00:00
Onur Küçük 737649cdf8 rng: Add new locales 2010-09-15 12:18:33 +00:00
Fatih Arslan 53d78d1612 actionsapi/texlivemodules: patterns have to be null string for change
If the key "patterns" do not have any value (null string), than it should be
replaced by "-". But the former condition was not able to catch up those null
strings. The condition has changed to work properly.
2010-09-08 08:36:59 +00:00
Fatih Arslan fe6fc233b8 actionsapi/texlivemodules: Refactor language function, fixes the broken parsing ability
The old language function was not easy to read and understand. Splitting it into two
functions makes it more readable. The code itself is rewritten from scratch. The 
function's parsing ability was by default faulty which has caused to create error .dat 
files.
2010-09-06 12:00:38 +00:00
Gökmen Göksel 2a15227a8c unpisi: Add support to extract packages to a target directory 2010-09-05 20:48:32 +00:00
Fatih Arslan 94c79b6fd6 actionsapi/texlivemodules.py: Fixes logical false result, using shlex for better parsing" 2010-09-01 05:28:21 +00:00
Fatih Arslan 086f10aa9d actionsapi/texlivemodules: Fixes the behaviour of copying and moving of documentation files 2010-08-31 09:19:04 +00:00
Fatih Arslan 0d226cde68 actionsapi/texlivemodules: Modified to work properly with TexLive 2009 version
Texlive 2009 has some significant changes in the source tree. 

-The format.cnf file is created from the information of tlpobj files. This is parsed via
the function addFormat().
-buildFormatFiles() has some enviroment changes.
-The files of the source itself is distributed in the source dir. This must be relocated 
and re-distributed properly. This relocation information is available in the the tlpobj files. 
The function which reads the information and relocate the files is named as  moveSource().
-handleConfigFiles() is rewritten to provide simplicity and readability. Also there is no need of 
parameters, because the prefixes are the same everywhere. 
-The order of the functions has been changed. First config files has to be created, after that it's 
possible to build formats
2010-08-31 07:05:47 +00:00
Gökçen Eraslan 2cac023dfc actionsapi: Add Pardus CFLAGS/CXXFLAGS as qmake parameter instead of make parameter.
If we add flag parameters to make, we totally override flags instead of add them.
2010-08-21 11:49:39 +00:00
Fatih Aşıcı f82b0b5998 archive: Comment a seek call as it causes a problem with Python 2.7
It seems this call is redundant here. No known problems so far.
2010-08-17 12:14:41 +00:00
Gökçen Eraslan f489e54909 actionsapi: Add includedir to qt4 module. 2010-08-17 05:57:59 +00:00
Gökçen Eraslan 1fbcf7ae82 actionsapi: Fix translation dir. 2010-08-17 05:54:15 +00:00
Gökçen Eraslan 4626db0c38 actionsapi: Revert last commit, use upstream names for importdir, translationdir and plugindir. 2010-08-17 05:37:13 +00:00
Gökçen Eraslan c0185af54e actionsapi: Change importdir, plugindir and translationdir to importsdir, pluginsdir and translationsdir for better integrity 2010-08-16 12:51:35 +00:00
Gökçen Eraslan 4aacd1cc65 actionsapi: Add qt4 module to easily compile qmake based Qt packages. 2010-08-16 12:22:18 +00:00
Gökçen Eraslan 6109bfd9d9 actionsapi: Add KDE4 module to easily compile and install cmake based KDE packages. 2010-08-16 12:21:37 +00:00
Gökçen Eraslan 27ad54bc7b actionsapi/cmaketools: Remove Makefile check from cmaketools.install
Developer may add '-C dir' parameter, so we should take this into account.
2010-08-16 07:04:54 +00:00
Gökçen Eraslan 057ea2934a actionsapi/cmaketools: Remove Makefile check
Developer may add '-C dir' parameter, so we should take this into account.
2010-08-16 07:00:57 +00:00
Fatih Aşıcı 9f4c66afa2 actionsapi: Set localstatedir prefix to "/var" 2010-08-06 13:48:12 +00:00
Fatih Aşıcı dc5f17d163 AUTHORS: Add missing developers and contributors
Organized with three titles: maintainers, developers and contributors.
2010-08-06 09:05:30 +00:00
Fatih Aşıcı 844de3b31a AUTHORS: Update contributor list 2010-08-05 20:35:53 +00:00
Fatih Aşıcı 4671616f1f AUTHORS: Remove translators 2010-08-05 06:48:29 +00:00
Fatih Aşıcı 3907f8de60 actionsapi: Use octal values for all permissions 2010-07-19 12:33:06 +00:00
Fatih Aşıcı b481e4f79e cli: Use the parsed separator in line_format 2010-07-18 12:00:35 +00:00
Fatih Aşıcı da1c342e25 cli: Do not overwrite the value given by column parameter in formatted_output
BUG:FIXED:13795
2010-07-18 11:48:51 +00:00
Fatih Aşıcı d542fa7a40 upgrade: Check if the conflicting package is already in the upgrade list 2010-07-16 06:52:17 +00:00
Fatih Aşıcı 8328e4033b scenarioapi/pspec: Properly add conflicts 2010-07-16 05:46:13 +00:00
Fatih Aşıcı 51337f1c14 scenarioapi/constants: Use uncompressed index file 2010-07-16 05:46:10 +00:00
Fatih Aşıcı 92badfd36a tests: Add tearDown method for cleanup 2010-07-15 13:57:39 +00:00
Fatih Aşıcı 176f1a1361 tests: Fix InstallDB test 2010-07-15 13:57:37 +00:00