Commit Graph

352 Commits

Author SHA1 Message Date
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
343e644abe pck-update: fix a string translation by adding the missing '$' prefix
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-15 19:31:03 +01:00
Davide Madrisan
bbc877d5ed ChangeLog: fix paragraph indentation
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-14 22:48:46 +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
Davide Madrisan
8eee8ae037 autospec: fix for the options requiring an argument
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-13 23:33:02 +01:00
Davide Madrisan
093aa4676c autospec: add some update debug messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-13 22:07:36 +01:00
Davide Madrisan
badca703f0 autospec: fix parsing of multi-string arguments
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-13 21:59:40 +01:00
Davide Madrisan
97552d02b8 Release 1.14.2
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-12 21:40:06 +01:00
Davide Madrisan
705396eab1 tests: fix the color tags used in the final messages
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 23:41:11 +01:00
Davide Madrisan
cf3bcb0edb manpage: update italian manpage and document new extensions
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 22:48:30 +01:00
Davide Madrisan
c19391e1be conf/Makefile: simplify the makefile by removing the static list of files
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 19:35:04 +01:00
Davide Madrisan
c8faaf8a70 libmsgmng.lib: allow users to write and select customized color schemes (~/.autospec.d/color-theme.<color_scheme>)
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 19:33:38 +01:00
Davide Madrisan
a2056ba9d5 autospec, autospec.conf, plugins: replace the option '--colorize' by '--colors <color-theme>'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 18:56:52 +01:00
Davide Madrisan
ac3e9bc14b conf/Makefile: enable 'color-theme.none'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 00:19:53 +01:00
Davide Madrisan
61c739e733 config: add color themes
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 00:06:33 +01:00
Davide Madrisan
98fe5c6a6f autospec: deprecate the option '--colorize'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-11 00:00:54 +01:00
Davide Madrisan
54b8190ba1 revert commit a03a529513: this creates some issues in the translations
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 23:05:06 +01:00
Davide Madrisan
0f301dc9fa all plugins: the option '--colorize-theme' must set colorize to '1'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 22:55:40 +01:00
Davide Madrisan
4edf024f5f libcfg.lib: do not check for configuration files groups and permissions
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 21:42:10 +01:00
Davide Madrisan
ffe2b496d1 autospec.spec: remove the variable 'rpmbuild_group': it's no more needed. Personal data is located in the files ~/.autospec and ~/.autospec.d/*.conf
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 21:18:33 +01:00
Davide Madrisan
e8b9a33167 lib/libmsgmng.lib, conf/Makefile: move theme settings to configuration files (color-theme.*)
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 21:01:37 +01:00
Davide Madrisan
cd7d6b663d autospec,plugins,libraries: a color scheme can be selected now by using the new command-line option '--colorize-theme'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 15:47:12 +01:00
Davide Madrisan
990661c11e autospec: send the debug message showing autospec version as soon as possible
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 12:21:10 +01:00
Davide Madrisan
a03a529513 all plugins: do not load a library already loaded by another autospec module
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-10 11:52:20 +01:00
Davide Madrisan
b5a1a17876 plugins/*: Execute 'notify.disable_colors()' when 'colorize' is set to '0' (disabled) to ignore color redefinitions made by user
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-09 22:57:36 +01:00
Davide Madrisan
5e90d9edb5 Release 1.14.1
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-08 23:33:10 +01:00
Davide Madrisan
acf87e5628 lib/libcfg.lib, lib/libmsgmng.lib: update copyleft
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-08 22:09:52 +01:00
Davide Madrisan
a483f12876 autospec.conf: better documentation for terminal (and web) color setup
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-08 21:20:49 +01:00
Davide Madrisan
924f2b2cab libmsgmng.lib: allow users to modify ESC, CRIT, NOTE, WARN, EXIT, and NORM color codes
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-08 21:07:55 +01:00
Davide Madrisan
8b6e2b2c50 config-getvar: update copyleft
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-08 20:33:11 +01:00
Davide Madrisan
bcfa07d7dc autospec: postpone the load of libcfg.lib
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-07 23:25:32 +01:00
Davide Madrisan
218df59a47 templates/standard: add a devel subpackage
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-07 23:17:32 +01:00
Davide Madrisan
45b6f0d61d pck-update: restore build requirement detection for *.so requirements
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-07 22:45:44 +01:00
Davide Madrisan
f929f20486 config-getvar: fix the help message (incorrect list of default files)
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-07 22:24:08 +01:00
Davide Madrisan
15825d0a4b spec-create: new option '--changelog'
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-07 21:26:51 +01:00
Davide Madrisan
9421ad3760 Release 1.14.0
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-01 23:47:28 +01:00
Davide Madrisan
941504de3c pck-update: add a warning message when a requirement is ignored
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
2012-11-01 23:11:39 +01:00
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