38 Commits
Author SHA1 Message Date
Archana eb1b2f61cc Add support for python packaging.
Added a setup.py for packaging. This will install the .py files as autospec
library in dist-packages. Because of the way the imports are currently done, autospec.py
is installed in dist-packages dir. The rpm packaging should create a symlink to this file at
/usr/bin/autospec.py
v1.0.0
2015-12-09 20:57:53 -08:00
William Douglas 71461e2e5e Add target option for package directory
Teach autospec to handle alternate package directory paths.
2015-12-09 22:08:29 +00:00
William Douglas 833a6c67c3 Move default configuration file to absolute path 2015-12-09 22:07:41 +00:00
Archana 1c875a518c Remove hard dependency on the common/license file for license detection.
This is to allow users to use autospec as a standalone package.
If the license server is not provided, then the common/license file is always read.
Removing this dependency, will allow the license to be picked by other means
($package.license file). Only when license detection is not possible through any of the
methods, an error is flagged.
2015-12-09 14:09:09 -08:00
Archana 95ef1e4b5a Remove nargs=1 in add_argument call for config file
This fixes a bug while passing config file on the command line.
Passing nargs=1 produces a list of one item rather than a string.
This then gets assigned to config_file variable which expects a string.
2015-12-08 23:02:29 -08:00
Simental Magana, Marcos 9c103db7cb Add missing space in autospec message commit for new packages.
Signed-off-by: Simental Magana, Marcos <marcos.simental.magana@intel.com>
2015-12-08 16:11:22 -06:00
Simental Magana, Marcos c5948db8ac Add websocket-client translation 2015-12-07 17:11:27 -06:00
Alberto Murillo 5e77d3cbe6 Add one translation 2015-12-01 12:18:38 -06:00
Arjan van de Ven 2f777ae867 few more patterns 2015-11-28 15:15:08 -05:00
Arjan van de Ven 44256b771f flip order 2015-11-27 18:20:06 -05:00
Arjan van de Ven 67731dd436 two more patterns 2015-11-27 15:23:12 -05:00
Ikey Doherty 0459fa7e11 Style fixes for compliance
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2015-11-27 18:40:08 +00:00
Arjan van de Ven 9fd44d1496 more changelog patterns 2015-11-27 14:29:52 -05:00
Arjan van de Ven 2114dc6b79 one more pattern 2015-11-27 12:57:37 -05:00
Ikey Doherty 2bde0da1dc Ensure we transform doc names, add support for CHANGES.rst
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2015-11-27 16:44:08 +00:00
Arjan van de Ven 3287149b2a one more pattern 2015-11-27 12:45:46 -05:00
Arjan van de Ven ac38191eda python is picky 2015-11-26 14:23:43 -05:00
Arjan van de Ven 874ac76f6c try finding CVE's in NEWS/Changelog file 2015-11-26 14:19:13 -05:00
Arjan van de Ven e97e787a31 delete commitmsg file after use 2015-11-26 14:09:14 -05:00
Arjan van de Ven a9afda57b6 one more pattern 2015-11-26 13:54:49 -05:00
Arjan van de Ven bed7e84c4c prefix commit message 2015-11-26 13:43:04 -05:00
Arjan van de Ven 345e17ce1d one more changelog pattern 2015-11-26 13:38:00 -05:00
Arjan van de Ven a42ceca603 also process ChangeLog 2015-11-26 13:09:46 -05:00
Arjan van de Ven e9959ae14f try to process the NEWS file for a better changelog 2015-11-26 12:59:44 -05:00
Arjan van de Ven eb75516a7b always do the commit message logic, even for no-git autospec 2015-11-26 12:33:58 -05:00
William Douglas 1d36957191 Write lines with newline seperation
The writelines function doesn't add newlines so join all lines with a
newline. Also import missing module.
2015-11-25 22:35:14 +00:00
William Douglas a3dd3936db Fix commit message path 2015-11-25 13:42:53 -08:00
Arjan van de Ven 813acd46ea fix option 2015-11-25 17:32:10 -05:00
William Douglas 5ddb31152e Update how a commit message is formed
General improvements to creating the commit message string and cleaning
up the commitmessage.py file.
2015-11-25 13:13:45 -08:00
Arjan van de Ven 9a74dd7de7 infrastructure to improve commit messages 2015-11-25 16:47:49 -05:00
Ikey Doherty 1703b636cd Automatically list CVEs addressed in each update
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2015-11-25 19:21:54 +00:00
Arjan van de Ven ac051a7487 improve commit message for version updates by listing the previous version 2015-11-25 14:42:16 -05:00
Ikey Doherty 9d30acb7a2 config: Cache the old version when re autospecing
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2015-11-25 18:30:49 +00:00
Ikey Doherty 6e638b4786 Automatically save a copy of NEWS and ChangeLog into the repo
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2015-11-25 17:30:55 +00:00
Ikey Doherty 4f0a91a8a1 test: Respect parallel build rules during make check
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2015-11-24 16:17:53 +00:00
Auke Kok 8166dc038b Add a bad license I encountered. 2015-11-19 21:11:58 +00:00
Guillermo Adrian Ponce 1fc2ae498d autospec/count.pl: Fixing coding style
Signed-off-by: Guillermo Adrian Ponce <guillermo.a.ponce.castaneda@intel.com>
2015-11-06 14:33:04 -06:00
Ikey Doherty f548853a31 Initial commit
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
2015-11-06 17:30:13 +00:00