7233b80200
lib/libnetwork.lib.in: make sure requested commit to checkout exists or fail
2024-02-08 17:23:01 +01:00
8655efaeb5
libnetwork.lib.in: fix support for pkg names containing '+' characters by converting %2B encoding with +
2023-10-03 19:42:30 +02:00
33c9c564cf
libnetwork.lib.in,pck-update.in: disable repository reachability check and dependency on the 'host' tool
2023-07-22 15:21:37 +02:00
5c7c9f997e
lib/libnetwork.lib.in: curl.ftp_command: autodetected webdav support for mkdir, rename-file and delete
2022-06-10 16:13:34 +02:00
4c108739a2
libnetwork.lib: support for url-decoding git tag so it works with i.e. 'subproject%2F1.0' for 'subproject/1.0'
2022-01-06 14:20:26 +01:00
88490f3dfe
libapse.lib.in: support for repology.org: add replace for \${search_name} in apse_uri; add jq JSON parse support via apse_jq
...
03-apse.conf: add repology.org and treat as obsolete all other sources by disabling or commenting them
2021-03-27 13:23:09 +01:00
bb706d3ef4
libnetwork.lib.in: fix SRPM download error for packages with '+' character (e.g. libxml++ did also match libxml++2)
2020-12-02 10:03:12 +01:00
66e607a4ca
pck-update,linnetwork.lib: preserve .git directory if protocol is http[s]+git
2020-06-22 11:00:33 +02:00
fcdbf0fe9b
libnetwork.lib: more support for https
2019-11-02 15:58:49 +01:00
38a689e2de
libnetwork.lib.in: git sources: simple support for checking out at a specific commit by supporting the syntax: --git-branch branch[@commit_id]
2019-10-27 15:18:42 +01:00
08bfa59a98
libspec.lib: use rpmspec -P <specfile> instead of rpm -q --specedit ... if rpm 4 is detected
2019-06-25 22:21:20 +02:00
93bcf6bb6b
libnetwork.lib: add --recursive to git clone commands to correctly fetch repositories with external subtrees
2017-10-31 16:57:10 +01:00
b5b1121aee
libnetwork.lib: support for git urls incompatibile with .git suffix (under testing)
2016-07-05 22:45:45 +02:00
99fd03d6a7
libapse.lib: ignore everything after a dash ('-') when checking for last version
2016-04-08 15:31:10 +02:00
41731ef882
libnetwork.lib: support for git repositories which don't have '.git' in their url
2015-09-26 15:00:22 +02:00
Davide Madrisan
faf2a81b00
libspec.lib - Accept the rpm token %global which defines macros in global context
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2015-03-29 18:40:01 +02:00
Davide Madrisan
1ef49ec99d
libnetwork.lib - use the builtin command 'type' instead of 'which'
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-12-14 22:31:27 +01:00
Davide Madrisan
26856b5b71
spec-create: Honour the pck version set by the user for specs generated from git
...
specfile.create(): always execute 'git.create_tarball()' with the option
'--pck-version'. This way a user-provided package version will be used
instead of the default one.
This patch will permit to force a user defined package version when desired.
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2014-08-20 21:00:14 +02:00
b767938678
libnetwork.lib: quick fix: .git suffix is not optional when cloning from http/https urls
2014-07-08 18:09:24 +02:00
653fc9cd35
libnetwork.lib: never use '--depth=1' when cloning from http and https git urls
...
- fix necessary and tested with code.google.com
- additionally print full 'git clone ..' command line used in debug output
2013-08-04 22:34:00 +02:00
Davide Madrisan
69a4080a61
libtest.lib: fix two broken calls to 'notify()'
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-07-19 18:35:36 +02:00
8b06b41b20
pck-update, libspec, libapse: support for a special specfile macro to disable scraping from specified sources
...
E.g.: enter the macro below in the specfile to disable scrape sources with indexes 0,2 and 4:
2013-06-05 00:23:06 +02:00
927ad3a5f7
libnetwork.lib: git source: add support for branch names containing slashes
2013-05-05 21:25:27 +02:00
636e7f8495
libspec.lib: also support "=" relation when assigning SPEC_OBSOLETES.
2013-01-19 18:22:52 +01:00
644f634393
libspec.lib: reworked sed expressions to get SPEC_SOURCE0_PCKNAME from SPEC_SOURCE0
2013-01-07 13:55:01 +01:00
Davide Madrisan
2e20dab6ef
libspec.lib: fix initialization of SPEC_SOURCE0 and SPEC_SOURCE0_VERBATIM
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2013-01-06 23:24:56 +01:00
9c934b546d
libapse.lib: fix and simplify update check at sourceforge.net
2013-01-03 14:45:37 +01:00
Davide Madrisan
45b271e4c9
libspec.lib: better separation of the autospec and rpm output when reporting a syntax error of a specfile
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-09 20:44:31 +01:00
Davide Madrisan
3c4d5b7880
libspec.lib: better error reporting when the specfile has syntax errors
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-09 18:05:40 +01:00
Davide Madrisan
a176e54cee
libspec.lib: specfile.check_syntax(): modify the error message
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-09 00:38:21 +01:00
Davide Madrisan
b65b2a0b87
libmsgmng.lib: translate "ERROR", "WARNING", and "DEBUG"
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-09 00:12:57 +01:00
Davide Madrisan
ee9a2c72b2
libspec: 'rpm -q --specfile --specedit <specfile>' does not always exit with an error code when the specfiles have syntax errors. Try to catch these problems.
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-08 23:59:53 +01:00
Davide Madrisan
58edaf3373
libspec: new function 'specfile.check_syntax()'
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-08 23:32:54 +01:00
Davide Madrisan
40a6110422
libraries, autospec: refactoring library loading to fix some issues
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-01 22:50:46 +01:00
Davide Madrisan
868c8b882a
libs,tests: add a debug message saying that the file is being loaded
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-01 17:54:46 +01:00
Davide Madrisan
61b0a67504
libapse.lib.: do not use the real paths of libspe.lib. Use @libdir@ instead
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-01 17:45:50 +01:00
Davide Madrisan
8cd4f03cb4
libraries: get rid of the clashing variables 'me'
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-12-01 17:40:21 +01:00
Davide Madrisan
55b61eebb1
libapse.lib: use libtranslate.lib
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-30 22:12:32 +01:00
Davide Madrisan
6b8099f31d
libtranslate.lib: new library
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-30 22:02:42 +01:00
Davide Madrisan
29e18765b6
autospec, plugins: rework the logic of the command-line options parser
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-25 23:21:06 +01:00
Davide Madrisan
288d828aaa
translation framework: xgettext is buggy: use 'bash --dump-po-strings' instead and rework all the code
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-25 15:54:34 +01:00
Davide Madrisan
5a00359a29
Point to the translation file autospec-all in all modules and libraries
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-23 23:45:02 +01:00
Davide Madrisan
bf480b6358
update translation framework - second stage
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-23 23:17:17 +01:00
Davide Madrisan
5774796d00
Makefile.env, Makefile's: add some variables to Makefiles.env and use them in the make targets 'pot-files'
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-19 23:30:22 +01:00
Davide Madrisan
f525086f8b
Makefile: new target 'pot-files'
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-19 22:45:31 +01:00
Davide Madrisan
f2dc888706
libcfg.lib: fix translation string (misplaced ':' character)
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-18 20:16:52 +01:00
Davide Madrisan
c84fa05747
libcfg.lib: exit if the given configuration files do not exist
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-18 20:09:15 +01:00
c5d5093431
libapse.lib: fix some version comparison errors by specifying numbers base
...
How to reproduce: /usr/bin/autospec -u ocre -a1,2
Errors fixed:
/usr/share/autospec/lib/libapse.lib: line 159: 019: value too great for base (error token is "019")
/usr/share/autospec/lib/libapse.lib: line 162: 019: value too great for base (error token is "019")
2012-11-16 18:40:20 +01:00
Davide Madrisan
5008e884d4
libcfg.lib, config-getvar: option '-C|--config': accept a list of configuration files containing wilcards
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-15 22:55:31 +01:00
Davide Madrisan
15f3575b2e
autospec, plugins: add the option '-C|--config' for selecting a different user configuration file or list of user configuration files
...
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-14 22:42:08 +01:00