Commit Graph

414 Commits

Author SHA1 Message Date
Davide Madrisan
3716f5e0c2 pck-update: try to avoid reporting package requirements set with 'Requires:' as build requirements. Unless not better identified requirements are in 'a(b)' form don't report them as build requirements to avoid breaking stage1 builds and causing unneeded circular dependencies
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-01 22:27:12 +01:00
Davide Madrisan
4623dd6866 libnetwork.lib: fix warning message in 'git.create_tarball()'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-31 22:11:49 +01:00
Davide Madrisan
3425fbf7ee libnetwork.lib: git.create_tarball(): add a warning message when the version passed to the function is not the expected one (that is a string made by the current date in the format YYYYMMDD followed by 'git')
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-31 22:01:49 +01:00
Davide Madrisan
f107a20bf8 libnetwork.lib; pck-update (action 3,5): improve the functions 'git.download()' and 'git.create_tarball()' by adding the option '--pck-version' and use it when calling 'git.download' in pck-update
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-30 23:17:59 +01:00
Davide Madrisan
80e22280fe pck-update (action 5): fix the package update from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-30 19:52:19 +01:00
Davide Madrisan
7cc90d2efb pck-update (action 3,5): preliminary support for source files updates from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-29 23:15:58 +01:00
Davide Madrisan
dfbd94458e libnetwork.lib: new helper function: 'git.download'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-29 22:55:49 +01:00
Davide Madrisan
b8c8ce7fbe autospec.spec: update some requirements of the autospec subpackages in order to always use the real package names instead of their aliases ('Provides' tag)
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-20 17:23:36 +02:00
Davide Madrisan
770a201882 lib/libnetwork.lib: curl.download(): do use the curl options set by the function argument '--options' (or '-o') instead of the global variable ''
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-20 12:28:30 +02:00
Davide Madrisan
5d684cd01a pck-update: infofile.create(): quote all the elements of SPEC_SOURCE to avoid problems when the URL contains the letter '&'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-16 21:44:17 +02:00
Davide Madrisan
58cae7acea Makefile: make 'make dist' a bit more verbose
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-14 22:19:58 +02:00
Davide Madrisan
4f472f6a27 po/it/spec-create.po: better translation
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-13 19:51:38 +02:00
Davide Madrisan
5be79dc09c po/it/spec-create.po: add missing translations
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-13 19:47:21 +02:00
Davide Madrisan
1448f6ab3d libnetwork: fix syntax error
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-13 19:43:58 +02:00
Davide Madrisan
b0555e95b7 libnetwork: print an informational message before creating the source compressed tarball. This may take a while
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-13 19:34:16 +02:00
Davide Madrisan
dde8cdd235 libnetwork: clone the entire git repository when the option '--preserve-dot-git' is selected by user
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-13 19:23:40 +02:00
Davide Madrisan
4c24d74501 test01_pkgquality: Do not use the operator '|&'. Use instead '2>&1 |' which is compatible at least with bash 3.2
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-11 21:20:34 +02:00
Davide Madrisan
ffc10a6e87 autospec.spec: add a missing build requirement: make
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-11 20:57:50 +02:00
Davide Madrisan
49655b2bf4 Makefile: modify the 'dist' directive to allow 'make dist', 'make dist-rpm', and 'make dist-rpm-install' with a cloned git archive
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-06 22:07:20 +02:00
Davide Madrisan
20748b3fe6 autospec.spec: make the specfile more distro-agnostic
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-06 18:46:50 +02:00
Davide Madrisan
4350f7d198 autospec.spec: update URL
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-06 18:22:48 +02:00
Davide Madrisan
29006f5ab4 Release 1.12.5
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-03 22:50:53 +02:00
Davide Madrisan
ebc1fd88ad spec-create: modify the 'Source' tag by including a parsable git url
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-03 22:21:20 +02:00
Davide Madrisan
6962a1ac16 libnetwork.lib: git.create_tarball(): add some debug messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-02 23:06:47 +02:00
Davide Madrisan
500d3b335e libnetwork.lib: git.create_tarball(): fix typo
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-02 21:14:04 +02:00
Davide Madrisan
5022004eac libnetwork.lib: git.create_tarball(): only clone the last commit
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-10-02 20:53:01 +02:00
Davide Madrisan
5cb16aebb6 autospec.spec: add a build requirement for gettext
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-09-29 21:31:12 +02:00
Davide Madrisan
f2b471f856 Release 1.12.4
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-09-22 08:32:00 +02:00
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
165e54e8d2 spec-create: document the creation of a specfile starting from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-09-09 20:11:13 +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
82b35315ec test01_pkgquality: when a file is detected as problematic do add its mime type
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-08-23 19:45:17 +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
547b750aef Release 1.12.3
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-17 22:38:49 +02:00
Davide Madrisan
b89f644e9e 02-specfile-formatting-rules.conf: new default value for library_name_structure: "". The old value ("^lib") does no longer apply.
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-07-17 19:26:28 +02:00
Stefano Cotta Ramusino
d1b35c01fa conf/03-apse.conf: fix fsf and launchpad scraping values
Signed-off-by: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
2012-07-09 03:21:47 +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
876146520e pck-update: action 3: generate right download URL after action 2
Signed-off-by: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
2012-07-04 03:44:14 +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
a14b989d3a pck-update (a4): allow a distribution-ID "upgrade" when updating the release number (example: 1mamba --> 2mamba2)
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-29 23:20:59 +02:00
Davide Madrisan
90968556d3 pck-update: fix syntax error in getopt --long argument
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-28 23:11:36 +02:00
Davide Madrisan
d8fb6bce76 Release 1.12.2
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-28 20:22:36 +02:00
Davide Madrisan
eb5fbded7d italian manpage: document --update-autobuildreq
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-28 20:20:36 +02:00
Davide Madrisan
11e2bc349c update documentation
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-28 20:18:57 +02:00
Davide Madrisan
c95afdf0c8 templates/kde4: remove wrong requirement
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-28 00:04:45 +02:00