Commit Graph

88 Commits

Author SHA1 Message Date
Davide Madrisan
ef06c3e486 libnetwork.lib: do not run the git command in quiet mode
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-09-22 08:19:29 +02:00
Davide Madrisan
0a648b670e spec-create, lib/libnetwork.lib: add aupport for git branches in spec-create by adding the new options --git-branch and --preserve-dot-git
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-09-19 19:27:50 +02:00
Davide Madrisan
775f2a7049 libnetwork.lib: remove the extra newline added to workaroung a bug in curl; it is fixed now
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-08-28 23:55:09 +02:00
Davide Madrisan
616d130d55 lib/libapsa.lib: coding style fixes
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-21 19:47:56 +02:00
Davide Madrisan
89d6517a79 libapse.lib: do not use "dirname" and "basename": bash provides primitives to do that
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-07 21:20:22 +02:00
Davide Madrisan
037669307b libapse.lib: style fixes
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-07 19:47:23 +02:00
Davide Madrisan
1504e58b3e libspec.lib: style fixes
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-07 17:17:11 +02:00
Stefano Cotta Ramusino
9db6a7c44d libspec.lib: expand compound rpm variables such as %{majorminor}
Signed-off-by: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
2012-07-04 03:37:20 +02:00
Stefano Cotta Ramusino
6f23a0da8e libapse.lib,conf/03-apse.conf: fix scraping values and add new sites
Signed-off-by: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
2012-07-04 03:28:22 +02:00
Davide Madrisan
b856cd2959 pck-update,libnetwork.lib: a package name can contain one or more undescores so add _ to the list of allowed characters
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-06-18 21:55:25 +02:00
Davide Madrisan
f93b85c9f5 unify the output of all the modules test
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-20 16:42:59 +02:00
Davide Madrisan
7a68b819d4 pck-update, test00_specsyntax: move code from pck-update (action 4) to a new test file test00_specsyntax
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 23:10:12 +02:00
Davide Madrisan
a50a7d17d7 libtest.lib: new library for test framework
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 14:16:01 +02:00
Davide Madrisan
55bfa01730 Split autospec.conf into several configuration files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-05 23:33:18 +02:00
Davide Madrisan
50b3fe9d32 libnetwork.lib: repository.get_srpm_pckname_from_site(): make the search case-insensitive
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-30 23:58:25 +02:00
Davide Madrisan
8f57ec4a1c libnetwork.lib: do not convert curl dumps to lowercase letters
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-29 00:10:30 +02:00
Davide Madrisan
04a69669e4 libnetwork.lib: make repository.get_srpm_pckname_from_site() work again for curl dumps of ftp sites
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-25 23:07:55 +02:00
Davide Madrisan
0594180470 libnetwork.lib: move code from spec-create to the new function git.create_tarball()
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-24 22:39:23 +02:00
Davide Madrisan
f6f0d6445f libnetwork.lib,autospec.spec: do not require "host"
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 23:12:08 +02:00
Davide Madrisan
37b7784608 pck-update,lib/libnetwork.lib: "host" is not required by pck-update; move the requirement to libnetwork
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 21:21:10 +02:00
Davide Madrisan
463df99f6c libnetwork.lib: simplify sed expression
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-14 23:16:20 +02:00
Davide Madrisan
2461f2ef9b libnetwork.lib: make search case insensitive
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-14 23:06:05 +02:00
Davide Madrisan
a01ecd4950 libnetwork.lib: revert 7d544e6481
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-14 22:34:46 +02:00
Davide Madrisan
7d544e6481 pck-update (-a0): libnetwork.lib: remove trailing .src.rpm
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-14 22:12:51 +02:00
Davide Madrisan
882c043dc4 pck-update (-a0): fix for the case where regexpr is ".*"
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-14 22:08:51 +02:00
Davide Madrisan
2f6bd17716 pck-update (-a0): fully support generic regexpr
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-14 19:59:19 +02:00
Davide Madrisan
041719d96e pck-update (-a0): add support for regexpr
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-14 17:29:56 +02:00
Davide Madrisan
7a982322a8 pck-update: remove SPEC_OBSOLETES_ESCAPED
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-25 20:25:45 +01:00
Davide Madrisan
f086d23cce libspec.lib: Correctly parse lines containing more complex 'obsoletes' directives
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-25 20:15:01 +01:00
Davide Madrisan
9cc2f35855 libspec.lib: Workaround for lines containing "Obsoletes pck <= ver"
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-25 19:30:56 +01:00
Davide Madrisan
e642fb425e libspec.lib: rework rpmvars.init() in order to support rpm macro expressions
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-15 13:12:55 +01:00
Davide Madrisan
3daac96b68 plugins,tools,tests,libs: use LC_ALL instead of LANG
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-02 21:16:48 +01:00
ea971add94 libspec: the previous fix was not correct 2011-09-24 18:53:50 +02:00
fa9b236d17 libspec: provide a better workaround for rpm segfaults when evaluating urls with '%' characters 2011-09-24 18:43:02 +02:00
55df4cbe08 libspec: quote '%' characters before passing strings to rpm --eval to avoid a segmentation fault error 2011-07-19 16:07:53 +02:00
bba8d55549 libapse (sourceforge): also get version from package name if there is no version indication in upper level directory name 2011-06-26 16:34:58 +02:00
37e4431bd3 libapse: perform sourceforge search for any package and modify to use http://sourceforge.com/projects/project_name/files/latest to retrieve latest version number 2011-06-24 18:56:48 +02:00
Silvan Calarco
aa237198c2 Initial commit 2011-04-26 21:39:44 +02:00