meego-developer-tools:spectacle.git
7 years agotestsuites: cases for auto locale searching 0.14
JF Ding [Thu, 18 Mar 2010 08:08:00 +0000 (16:08 +0800)]
testsuites: cases for auto locale searching

when 'intltool' in 'PkgBR', add find_lang automatically,
and 'NoAutoLocael' can suppress it.

7 years agorename 'NoLocale' to 'NoAutoLocale' to clarify the meaning
JF Ding [Thu, 18 Mar 2010 07:58:50 +0000 (15:58 +0800)]
rename 'NoLocale' to 'NoAutoLocale' to clarify the meaning

and the default value of this bool key is False now

7 years agopump version to 0.14
JF Ding [Wed, 17 Mar 2010 13:38:23 +0000 (21:38 +0800)]
pump version to 0.14

7 years agodoc: udpate README
JF Ding [Wed, 17 Mar 2010 13:37:25 +0000 (21:37 +0800)]
doc: udpate README

7 years agotestsuites: new case for empty keys checking
JF Ding [Wed, 17 Mar 2010 13:34:31 +0000 (21:34 +0800)]
testsuites: new case for empty keys checking

7 years agotestsuite: case for new %preun placeholder
JF Ding [Wed, 17 Mar 2010 13:33:00 +0000 (21:33 +0800)]
testsuite: case for new %preun placeholder

7 years agofix problem in %preun placeholder support
JF Ding [Wed, 17 Mar 2010 13:32:16 +0000 (21:32 +0800)]
fix problem in %preun placeholder support

7 years agotestsuites: update testing frame to cmp patched output
JF Ding [Wed, 17 Mar 2010 13:28:43 +0000 (21:28 +0800)]
testsuites: update testing frame to cmp patched output

By this, test cases will not affected by tmpl minor changes.

7 years agocleanup all boolean keys: exists status to present logic
JF Ding [Wed, 17 Mar 2010 12:42:28 +0000 (20:42 +0800)]
cleanup all boolean keys: exists status to present logic

Then, in templ, we can use "has_key" or not to present the logic value

7 years agospec2spec: add parsing for %preun and remanaged code
JF Ding [Wed, 17 Mar 2010 10:19:28 +0000 (18:19 +0800)]
spec2spec: add parsing for %preun and remanaged code

7 years agotmpl: add customized "%preun" script place holder
JF Ding [Wed, 17 Mar 2010 09:55:04 +0000 (17:55 +0800)]
tmpl: add customized "%preun" script place holder

7 years agospecify: sanity checking for empty keys
JF Ding [Wed, 17 Mar 2010 08:56:35 +0000 (16:56 +0800)]
specify: sanity checking for empty keys

7 years agospec2spec: more proper parsing for pkgconfig requires
JF Ding [Wed, 17 Mar 2010 08:46:11 +0000 (16:46 +0800)]
spec2spec: more proper parsing for pkgconfig requires

7 years agospec2spec: more proper handling for opts of headers
JF Ding [Wed, 17 Mar 2010 08:16:32 +0000 (16:16 +0800)]
spec2spec: more proper handling for opts of headers

7 years agospec2spec: bug in Requires parsing
JF Ding [Wed, 17 Mar 2010 04:00:58 +0000 (12:00 +0800)]
spec2spec: bug in Requires parsing

7 years agospec2spec: fix bug in handling '-n' subpkg name
JF Ding [Wed, 17 Mar 2010 03:36:00 +0000 (11:36 +0800)]
spec2spec: fix bug in handling '-n' subpkg name

7 years agoproper handling for bool keys dumping
JF Ding [Wed, 17 Mar 2010 02:57:18 +0000 (10:57 +0800)]
proper handling for bool keys dumping

7 years agospec2spec: add parsing for %pre/post/postun
JF Ding [Tue, 16 Mar 2010 10:55:25 +0000 (18:55 +0800)]
spec2spec: add parsing for %pre/post/postun

7 years agotestsuites: update cases according tmpl changes
JF Ding [Tue, 16 Mar 2010 10:43:23 +0000 (18:43 +0800)]
testsuites: update cases according tmpl changes

7 years agodoc: update README with new added spec placeholders
JF Ding [Tue, 16 Mar 2010 10:22:26 +0000 (18:22 +0800)]
doc: update README with new added spec placeholders

7 years agotestsuites: add cased for new 'postun/pre' place holders
JF Ding [Tue, 16 Mar 2010 10:09:47 +0000 (18:09 +0800)]
testsuites: add cased for new 'postun/pre' place holders

7 years agotmpl: add customized "%pre" script place holder
JF Ding [Tue, 16 Mar 2010 10:09:22 +0000 (18:09 +0800)]
tmpl: add customized "%pre" script place holder

7 years agotmpl: add customized "%postun" script place holder
JF Ding [Tue, 16 Mar 2010 09:54:34 +0000 (17:54 +0800)]
tmpl: add customized "%postun" script place holder

7 years agotestsuites: update cases related new 'Check' key
JF Ding [Tue, 16 Mar 2010 09:27:07 +0000 (17:27 +0800)]
testsuites: update cases related new 'Check' key

7 years agospec2spec: add support of %check convert
JF Ding [Tue, 16 Mar 2010 09:25:52 +0000 (17:25 +0800)]
spec2spec: add support of %check convert

7 years agorenamed 'NeedRunTests' to 'Check' and renamed 'check'
JF Ding [Tue, 16 Mar 2010 08:32:11 +0000 (16:32 +0800)]
renamed 'NeedRunTests' to 'Check' and renamed 'check'

in .spec, 'check_scriptlets' place holder renamed to 'check'
but remain compatibility for old spectified packages with them.

7 years agospec2spec: more precise parsing for PkgConfigBR
JF Ding [Mon, 15 Mar 2010 10:52:57 +0000 (18:52 +0800)]
spec2spec: more precise parsing for PkgConfigBR

7 years agotestsuites: update test cases with recent changes
JF Ding [Mon, 15 Mar 2010 10:33:17 +0000 (18:33 +0800)]
testsuites: update test cases with recent changes

because of trailing white spaces cleanup work

7 years agotestsuites: colored and clear output of wrong result
JF Ding [Mon, 15 Mar 2010 10:25:40 +0000 (18:25 +0800)]
testsuites: colored and clear output of wrong result

7 years agoupdate Makefile for more clean cleanup
JF Ding [Mon, 15 Mar 2010 09:16:53 +0000 (17:16 +0800)]
update Makefile for more clean cleanup

7 years agotestsuites: new case for renamed keys checking and
JF Ding [Mon, 15 Mar 2010 09:11:50 +0000 (17:11 +0800)]
testsuites: new case for renamed keys checking and

update case names for renamed keys

7 years agorename 'WholeName' to 'AsWholeName'
JF Ding [Mon, 15 Mar 2010 09:10:42 +0000 (17:10 +0800)]
rename 'WholeName' to 'AsWholeName'

7 years agotestsuite: case for key 'AutoDepend' and 'WholeName'
JF Ding [Mon, 15 Mar 2010 08:32:18 +0000 (16:32 +0800)]
testsuite: case for key 'AutoDepend' and 'WholeName'

7 years agonewkey: 'WholeName' for subpackages only
JF Ding [Mon, 15 Mar 2010 08:09:33 +0000 (16:09 +0800)]
newkey: 'WholeName' for subpackages only

when specified 'WholeName' for subpackage, its 'Name' will be used
as the whole package name, and .spec will get:
%package -n ``Name``

7 years agotestsuite: case for dropped key checking
JF Ding [Mon, 15 Mar 2010 07:55:01 +0000 (15:55 +0800)]
testsuite: case for dropped key checking

7 years agodropped 'PostScripts' key and checking for all dropped keys
JF Ding [Mon, 15 Mar 2010 07:43:58 +0000 (15:43 +0800)]
dropped 'PostScripts' key and checking for all dropped keys

by now, 'Documents', 'PostScripts' were deprecated, in the future
the related should be removed when all pkgs need not them.

7 years agofix problem in %post handle and update doc
JF Ding [Mon, 15 Mar 2010 07:31:54 +0000 (15:31 +0800)]
fix problem in %post handle and update doc

7 years agoFixed testsuite for fdupes
Anas Nashif [Sun, 14 Mar 2010 17:37:39 +0000 (10:37 -0700)]
Fixed testsuite for fdupes

7 years agoAdded custom post section, initial arch support
Anas Nashif [Sun, 14 Mar 2010 17:13:25 +0000 (10:13 -0700)]
Added custom post section, initial arch support

Support custom post section
add arch namespace to config options

7 years agoupdate Makefile with test support
JF Ding [Sun, 14 Mar 2010 15:22:30 +0000 (23:22 +0800)]
update Makefile with test support

7 years agounittest: add all the files for special unittest framework
JF Ding [Sun, 14 Mar 2010 15:21:05 +0000 (23:21 +0800)]
unittest: add all the files for special unittest framework

And the basic 38 specify test cases

7 years agoadd missing checking for key 'ExtraInstall'
JF Ding [Sun, 14 Mar 2010 15:11:40 +0000 (23:11 +0800)]
add missing checking for key 'ExtraInstall'

7 years agoupdate README for missing document
JF Ding [Sun, 14 Mar 2010 15:04:22 +0000 (23:04 +0800)]
update README for missing document

7 years agoadd missing checking for key 'FilesInput'
JF Ding [Sun, 14 Mar 2010 10:13:32 +0000 (18:13 +0800)]
add missing checking for key 'FilesInput'

7 years agospec2spec: add convert for ExclusiveArch tags
JF Ding [Sun, 14 Mar 2010 10:10:27 +0000 (18:10 +0800)]
spec2spec: add convert for ExclusiveArch tags

7 years agofixed: bug in $br_desktop handling in spec
JF Ding [Sun, 14 Mar 2010 10:08:09 +0000 (18:08 +0800)]
fixed: bug in $br_desktop handling in spec

7 years agoadded missing checking for key 'RunFdupes' and 'PostScripts'
JF Ding [Sun, 14 Mar 2010 09:45:31 +0000 (17:45 +0800)]
added missing checking for key 'RunFdupes' and 'PostScripts'

7 years agoadd duplicate checking for YAML 'Files' key
JF Ding [Sun, 14 Mar 2010 08:28:59 +0000 (16:28 +0800)]
add duplicate checking for YAML 'Files' key

7 years agofixed: bug in parsing filelist with 'Files' key
JF Ding [Sun, 14 Mar 2010 07:42:55 +0000 (15:42 +0800)]
fixed: bug in parsing filelist with 'Files' key

7 years agoMerge branch 'master' of git.moblin.org:spectacle
Anas Nashif [Sun, 7 Mar 2010 18:01:05 +0000 (10:01 -0800)]
Merge branch 'master' of git.moblin.org:spectacle

7 years agoVarious fixes
Anas Nashif [Sun, 7 Mar 2010 18:00:25 +0000 (10:00 -0800)]
Various fixes

7 years agospecify: option to skip download newer source files
JF Ding [Sun, 7 Mar 2010 11:04:29 +0000 (19:04 +0800)]
specify: option to skip download newer source files

7 years agospecify: option to specify filepath of output spec
JF Ding [Sun, 7 Mar 2010 10:49:28 +0000 (18:49 +0800)]
specify: option to specify filepath of output spec

7 years agoAdd checking for missing/invalid/types of yaml keys
JF Ding [Sun, 7 Mar 2010 09:19:30 +0000 (17:19 +0800)]
Add checking for missing/invalid/types of yaml keys

1. checking the types of all keys: string, list, bool
2. checking mandatory keys for main and sub packages
3. checking all invalid keys for main and sub packages

7 years agouse default LocaleName value when only LocaleOptions specified
JF Ding [Fri, 5 Mar 2010 08:01:06 +0000 (16:01 +0800)]
use default LocaleName value when only LocaleOptions specified

7 years agoMerge commit 'origin/master'
JF Ding [Tue, 2 Mar 2010 06:49:58 +0000 (14:49 +0800)]
Merge commit 'origin/master'

7 years agoupdate documents with all recent changes
JF Ding [Tue, 2 Mar 2010 06:48:49 +0000 (14:48 +0800)]
update documents with all recent changes

7 years agoupdate files_parsing according the 'Files' key
JF Ding [Tue, 2 Mar 2010 06:27:24 +0000 (14:27 +0800)]
update files_parsing according the 'Files' key

7 years agoAdd YAML 'Files' support to converters
JF Ding [Tue, 2 Mar 2010 06:12:22 +0000 (14:12 +0800)]
Add YAML 'Files' support to converters

7 years agofixed potential bugs for tarball name parsing
JF Ding [Tue, 2 Mar 2010 06:05:04 +0000 (14:05 +0800)]
fixed potential bugs for tarball name parsing

7 years agoadd 'Files' key to store filelist for small pkg
JF Ding [Tue, 2 Mar 2010 05:37:52 +0000 (13:37 +0800)]
add 'Files' key to store filelist for small pkg

If both 'Files' and ">> files" inline content in spec exists,
will warning user to cleanup.

7 years agoNo BuildRoot and no %clean sections
nashif [Tue, 2 Mar 2010 02:18:29 +0000 (18:18 -0800)]
No BuildRoot and no %clean sections

7 years agosupport exclusive arch and fixed desktop handling
nashif [Tue, 2 Mar 2010 01:01:07 +0000 (17:01 -0800)]
support exclusive  arch and fixed desktop handling

7 years agoVarious fixes and enhancements
nashif [Mon, 1 Mar 2010 23:26:37 +0000 (15:26 -0800)]
Various fixes and enhancements

- Add GConf to PreRequire
- Desktop file handling
- Remove URL from must list
- Updated groups

7 years agono tar handling if no setup
Anas Nashif [Sun, 28 Feb 2010 15:14:56 +0000 (10:14 -0500)]
no tar handling if no setup

7 years agoFixed proposal
Anas Nashif [Sat, 27 Feb 2010 18:28:57 +0000 (13:28 -0500)]
Fixed proposal

7 years agoFixed proposal
Anas Nashif [Sat, 27 Feb 2010 17:40:21 +0000 (12:40 -0500)]
Fixed proposal

7 years agoMerge branch 'master' of git@git.moblin.org:spectacle
Anas Nashif [Sat, 27 Feb 2010 17:29:15 +0000 (12:29 -0500)]
Merge branch 'master' of git@git.moblin.org:spectacle

Conflicts:
spectacle/specify.py

7 years agoAdded support for qmake, better pkgconfig proposals
Anas Nashif [Sat, 27 Feb 2010 17:21:10 +0000 (12:21 -0500)]
Added support for qmake, better pkgconfig proposals

- Added support for Maker: qmake
- Print a proposal for replacing PkgBR with PkgConfigBR.
- Initial tar content parsing

7 years agospecify: add support of series.conf for patches
JF Ding [Fri, 26 Feb 2010 07:52:49 +0000 (15:52 +0800)]
specify: add support of series.conf for patches

7 years agospecify: add comment to Patches in %setup
JF Ding [Fri, 26 Feb 2010 04:18:25 +0000 (12:18 +0800)]
specify: add comment to Patches in %setup

Show the patch name as comments for each patch command in %setup.

7 years agoMerge commit 'origin/master'
JF Ding [Tue, 23 Feb 2010 15:15:23 +0000 (23:15 +0800)]
Merge commit 'origin/master'

7 years agoDo not add Date to header
nashif [Tue, 23 Feb 2010 14:59:36 +0000 (06:59 -0800)]
Do not add Date to header
Update GROUPS

7 years agopump vertion to 0.13 0.13
JF Ding [Tue, 23 Feb 2010 11:54:30 +0000 (19:54 +0800)]
pump vertion to 0.13

7 years agoMakefile: split extra stuff from standard setup.py
JF Ding [Tue, 23 Feb 2010 11:53:45 +0000 (19:53 +0800)]
Makefile: split extra stuff from standard setup.py

7 years agoupdate Makefile for untagged version
JF Ding [Tue, 23 Feb 2010 10:45:51 +0000 (18:45 +0800)]
update Makefile for untagged version

7 years agoini2spec: move old Makefile to backup
JF Ding [Tue, 23 Feb 2010 10:02:20 +0000 (18:02 +0800)]
ini2spec: move old Makefile to backup

7 years agoMore decent handling for interrupt download
JF Ding [Tue, 23 Feb 2010 08:46:46 +0000 (16:46 +0800)]
More decent handling for interrupt download

7 years agowarning for corrupt tarballs if found
JF Ding [Tue, 23 Feb 2010 08:44:36 +0000 (16:44 +0800)]
warning for corrupt tarballs if found

7 years agospec2spec: better parsing for configur options line
JF Ding [Tue, 23 Feb 2010 08:32:11 +0000 (16:32 +0800)]
spec2spec: better parsing for configur options line

7 years agomake all tools can work outside package dir
JF Ding [Tue, 23 Feb 2010 08:19:25 +0000 (16:19 +0800)]
make all tools can work outside package dir

7 years agochanged the path of original spec file backup
JF Ding [Tue, 23 Feb 2010 07:41:06 +0000 (15:41 +0800)]
changed the path of original spec file backup

7 years agowrapper raw_input using logger.ask for clear output
JF Ding [Tue, 23 Feb 2010 07:14:08 +0000 (15:14 +0800)]
wrapper raw_input using logger.ask for clear output

7 years agocleanup for all printing code using logger
JF Ding [Tue, 23 Feb 2010 07:03:12 +0000 (15:03 +0800)]
cleanup for all printing code using logger

7 years agospec2spec: split mutiple reqs in one line
JF Ding [Tue, 23 Feb 2010 06:31:24 +0000 (14:31 +0800)]
spec2spec: split mutiple reqs in one line

7 years agofixed: more accurate match of '-devel' sub pakcages
JF Ding [Tue, 23 Feb 2010 06:06:47 +0000 (14:06 +0800)]
fixed: more accurate match of '-devel' sub pakcages

7 years agospec2spec: fixed wrong parsing of options of header tags
JF Ding [Tue, 23 Feb 2010 05:19:29 +0000 (13:19 +0800)]
spec2spec: fixed wrong parsing of options of header tags

7 years agospecify: find sourceprefix in tarballs, need to strip '/$'
JF Ding [Tue, 23 Feb 2010 05:12:38 +0000 (13:12 +0800)]
specify: find sourceprefix in tarballs, need to strip '/$'

7 years agoMerge commit 'origin/master'
JF Ding [Tue, 23 Feb 2010 04:11:36 +0000 (12:11 +0800)]
Merge commit 'origin/master'

7 years agospec2spec: fixed bug for warning output
JF Ding [Tue, 23 Feb 2010 04:10:32 +0000 (12:10 +0800)]
spec2spec: fixed bug for warning output

7 years agoupdate documents: TODO README examples
JF Ding [Tue, 23 Feb 2010 03:26:40 +0000 (11:26 +0800)]
update documents: TODO README examples

7 years agoAdded System/Desktop
Anas Nashif [Tue, 23 Feb 2010 02:45:33 +0000 (21:45 -0500)]
Added System/Desktop

7 years agochanged logger msg colors
JF Ding [Tue, 23 Feb 2010 02:04:52 +0000 (10:04 +0800)]
changed logger msg colors

7 years agoremove workaround changes
JF Ding [Tue, 23 Feb 2010 01:42:36 +0000 (09:42 +0800)]
remove workaround changes

7 years agoMerge commit 'origin/master'
JF Ding [Tue, 23 Feb 2010 01:40:34 +0000 (09:40 +0800)]
Merge commit 'origin/master'

7 years agoAdded new modules
JF Ding [Tue, 23 Feb 2010 01:38:46 +0000 (09:38 +0800)]
Added new modules

7 years agotemporary workaround for logging
Anas Nashif [Mon, 22 Feb 2010 17:22:40 +0000 (12:22 -0500)]
temporary workaround for logging

7 years agomanaged all warning printing and colorized them
JF Ding [Mon, 22 Feb 2010 11:13:09 +0000 (19:13 +0800)]
managed all warning printing and colorized them

added new module 'logger', which exported three functions:
 info()
 warning()
 error()

they will print msg with ANSI colors

7 years agospec2spec: change for different default 'Configure' value
JF Ding [Mon, 22 Feb 2010 06:31:37 +0000 (14:31 +0800)]
spec2spec: change for different default 'Configure' value

now the default 'Configure' value changed from 'none' to 'configure'

7 years agoMerge commit 'origin/master'
JF Ding [Mon, 22 Feb 2010 06:06:12 +0000 (14:06 +0800)]
Merge commit 'origin/master'