Commit Graph

72 Commits

Author SHA1 Message Date
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
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
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
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
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
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
458987e4ba pck-update: new options --update-autobuildreq which replace a block AUTOBUILDREQ-BEGIN ... AUTOBUILDREQ-END by an updated one
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-27 19:55:01 +02:00
Davide Madrisan
a191a40d35 pck-update: do not check for missing build requirements and source files when pck-update is invoked with the option --list-check
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-26 21:42:29 +02:00
Davide Madrisan
5bbd6b6ee3 pck-update, test/*: update/add the code to check for the required external tools
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-20 22:30:07 +02:00
Davide Madrisan
4c72cde33e pck-update (a0): update message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-20 20:24:45 +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
8bb763e34b pck-update: provide the action number in the message asking for running tests
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 14:27:21 +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
055aa310d9 pck-update: do not reinitialize the tests counter before executing a new test battery
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 10:58:33 +02:00
Davide Madrisan
af1fa53444 pck-update, test01_*,: rework output of all tests
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-19 00:03:42 +02:00
Davide Madrisan
c439f88deb pck-update: update help message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-15 22:10:50 +02:00
Davide Madrisan
6adc14a8a1 spec-create: Select makefile as build_techology when makefiles or GNUmalefiles are found, not only Makefiles
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-09 23:07:31 +02:00
Davide Madrisan
223e904242 pck-update: check specfiles for CR and CRLF line terminators; they can mislead the specfile parser
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-06 21:02:14 +02:00
Davide Madrisan
4f44b8b825 pck-update: package.update(): better notification message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-04 23:30:40 +02:00
Davide Madrisan
ae734fb182 pck-update: action 0: better notification message
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-04 22:49:58 +02:00
Davide Madrisan
0c9278c7e8 pck-update: stop execution with an error code when specfile.newrelease() reports an error
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-05-01 23:18:39 +02:00
Davide Madrisan
d848b0a5b9 pck-update: do not ignore the release set by user
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-28 23:43:12 +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
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
a360868bda sped-create: exist with error when git is required but cannot be found
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 21:00:46 +02:00
Davide Madrisan
1ccfb7faff sped-create: also support git URL starting by http:// and https://
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 20:40:33 +02:00
Davide Madrisan
4ec7565752 spec-create: add a "## GITSOURCE" comment when git is used
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-23 00:18:04 +02:00
Davide Madrisan
36fcfd24d6 spec-create: allow specfile creation from a git repository
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-04-22 16:51:59 +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
a662178d61 spec-create: add a build requirent for cmake and scons when required
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-25 23:46:01 +02:00
Davide Madrisan
e4ce9bf357 spec-create: preliminary support for scon
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-25 22:05:44 +02:00
Davide Madrisan
1f7ddcbf13 pck-update (-a5): new option "--list-check" for simply running "rpmbuild -bl" instead of building packages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-17 23:47:03 +01:00
Davide Madrisan
5faa3d8776 pck-update: treat rpm --specfile --specedit errors as warnings
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-17 22:48:28 +01:00
Davide Madrisan
c8909a86fb pck-update (-a6): minor fixes
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-04 20:11:34 +01:00
Davide Madrisan
90ac66435c pck-update: fix for "/usr/bin/pck-update: line 2458: package: command not found"
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-03-02 23:34:14 +01:00
Davide Madrisan
65df56ac7c pck-update (-a6): better check for self-provided packages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-06 23:12:56 +01:00
Davide Madrisan
18ab4ff63d pck-update (-a6): never include in the list of build requirements a self-provided package
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-05 20:00:00 +01:00
Davide Madrisan
e682c64fc0 pck-update (-a6): fix for requirements like libGLUT>=3.7
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-05 19:47:02 +01:00
Davide Madrisan
7c7004d1e8 pck-update: infofile.create(): honour %_specdir and %_sourcedir when checking for syntax errors in the specfiles
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-05 16:26:50 +01:00
Davide Madrisan
76e829f045 pck-update: (-a6): fix for /lib/ld-linux.so.2 -> ld-2.14.1.so
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-02-03 23:31:24 +01:00
Davide Madrisan
062ef27deb pck-update (-a6): code cleanups
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-31 00:54:51 +01:00
Davide Madrisan
3ce36517c5 pck-update (-a6): another bunch of code cleanups
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-29 17:34:11 +01:00
Davide Madrisan
877e3d5a37 pck-update (-a6): code cleanups
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-29 01:54:08 +01: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
d349dcdd7a pck-update: add a newline for better readability
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-01-25 19:19:51 +01:00