Commit graph

859 commits

Author SHA1 Message Date
fd04c03613 add parent dir to module search path only when importing fails 2020-10-16 13:42:16 +03:00
fdc1ab93e9 move scripts/* to bin/ 2020-10-14 02:20:58 +03:00
45d51c0e15 rename build-helper -> cdist-build-helper 2020-10-14 02:18:25 +03:00
8ecae42199 remove bin/cdist script 2020-10-14 02:18:25 +03:00
Darko Poljak
b6922508b9 Update helper script 2020-09-21 09:17:34 +02:00
Darko Poljak
d1a64596fe Update build-helper 2020-01-04 14:56:05 +01:00
Darko Poljak
8562871da9 Fix shellcheck exit status
shellcheck* targets were always reporting exit status 0.
With this fix, if shellcheck fails, then build-helper script
exits with 1.
2019-12-12 07:37:32 +01:00
Darko Poljak
3d3b59ab87 Add pycodestyle ignores 2019-11-27 14:59:25 +01:00
Darko Poljak
34eec3c214 Add cdist-new-type helper scrpt 2019-05-20 18:10:35 +02:00
Darko Poljak
66cdbc5233 Simplify maintainer's helper script 2019-05-09 21:05:33 +02:00
Darko Poljak
afa00a9094 Fix build-helper script 2019-05-09 19:35:52 +02:00
Darko Poljak
4f40c6ac65 Re-arrange Makefile and build-helper script
Maintainers should use build-helper script.
End users should use Makefile, which contains targets
that can be run on pure source (without git repository).
2019-05-08 22:34:03 +02:00
Darko Poljak
4d75a05e35 Rm redundant tag description from rel notes 2019-05-05 10:31:23 +02:00
Darko Poljak
d242f1e758 Unify build-helper scripts 2019-05-04 10:09:39 +02:00
Darko Poljak
2f93320627 Generating speeches is not part of cdist release
Speeches should be generated on demand when needed
and the cdist website should be updated.
2019-05-03 22:18:19 +02:00
Darko Poljak
249ac917d3 Changes due to new website 2019-05-03 22:18:19 +02:00
Darko Poljak
bd9884fac4 Tell curl to use HTTP version 1.1
By default, was getting the following error:
curl: (92) HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)
2019-05-03 22:16:51 +02:00
Darko Poljak
71945ef956 Fix copy-paste thing 2019-05-03 21:55:27 +02:00
Darko Poljak
fe833fdfcb Sign git tag as one of the last steps
If it fails then the whole release should not fail,
signing git tag can be tried again.
2019-05-03 21:46:17 +02:00
Darko Poljak
6258e397ed Include changelog in gitlab release 2019-05-03 21:39:25 +02:00
Darko Poljak
8b93bf0218 Migrate from github to ungleich gitlab 2019-04-25 22:23:06 +02:00
Darko Poljak
b0273af0d4 Rm relicts, pypi before web publishing 2019-04-20 17:41:07 +02:00
Darko Poljak
51e650423e Fix version.py location inside raw source archive
Note that this fix only matters for maintainers using build-helper
script. Source archive is generated during release process and
uploaded to github, along its signature.
For 4.10.11 those files were fixed and uploaded manually after
build-helper script process has been finished. In future releases
this process will be automatic - no need for manual step that was
necessary for 4.10.11.
2019-04-13 20:43:11 +02:00
Darko Poljak
20a16fe853 Add version.py into generated raw source archive
Resolves #751
2019-04-12 19:58:43 +02:00
Darko Poljak
689f37acf6 Migrate from pep8 to pycodestyle 2019-02-15 21:05:26 +01:00
Darko Poljak
8436f872a9 Add shellcheck makefile target. shellcheck when doing release. 2018-10-06 15:56:55 +02:00
Darko Poljak
5090038e4c Add test-remote target - remote is not tested with test target 2018-03-09 10:00:14 +01:00
Darko Poljak
f5dd4e0a76 Improve pep8 targets and checking in release. 2016-07-24 22:24:15 +02:00
Darko Poljak
2011db16a8 Add scripts/cdist to pep8 check. 2016-07-23 15:10:32 +02:00
Darko Poljak
25e69d1302 Fix release signing: upload also archive that is signed. 2016-07-18 19:58:21 +02:00
Darko Poljak
25bfad452c Fix missing trailing slash for archive prefix. 2016-07-18 19:48:54 +02:00
Darko Poljak
c456284cef For release generate version file with target version. 2016-07-16 01:38:22 +02:00
Darko Poljak
ccbb9697eb Clean sphinx docs before building. 2016-07-16 00:50:01 +02:00
Darko Poljak
ec425be624 Fix removing archive. Push new branch if builder not Nico. 2016-07-16 00:07:13 +02:00
Darko Poljak
9256aa8d58 Fix pipe typo bug. 2016-07-15 22:50:26 +02:00
Darko Poljak
0f2cda06b1 Fix arg num check. 2016-07-15 22:33:33 +02:00
Darko Poljak
12faca578f gpg needs GPG_TTY env var set. 2016-07-15 22:21:07 +02:00
Darko Poljak
c9f825d7ef Ensure gpg-agent is running for tag signing. 2016-07-15 22:15:46 +02:00
Darko Poljak
f10ffed4c6 sign-git-tag -> sign-git-release 2016-07-11 12:28:22 +02:00
Darko Poljak
317622678a Add build-helper param for existing archive for sign-git-tag target. 2016-07-11 08:19:10 +02:00
Darko Poljak
9286850098 Fix syntax error. 2016-07-10 21:44:57 +02:00
Darko Poljak
17de2d9b79 Make signed github releases. 2016-07-10 21:17:42 +02:00
Darko Poljak
81fbf48702 Add pep8 check target to build-helper. 2016-07-10 11:21:52 +02:00
Nico Schottelius
9b2800b614 Merge pull request #453 from darko-poljak/improve-docs-build
Improve docs build
2016-07-07 21:49:38 +09:00
Darko Poljak
07ef7cf2a0 Update building on FreeBSD. 2016-07-07 07:53:21 +02:00
Darko Poljak
0d64d6a5b6 docs/man -> docs/src and update Makefile and build-helper. 2016-06-30 15:13:21 +02:00
Darko Poljak
51c94e9e82 Restructure and fix and improve docs and manpages. 2016-06-29 07:48:34 +02:00
Nico Schottelius
ec607d65fe remove freecode support
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-08-18 23:39:32 +02:00
Nico Schottelius
78c3c09163 do not wait for input from stdin
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-05-05 23:12:18 +02:00
Nico Schottelius
d28c374de9 prevent ml releases without version and use custom freecode submit (archlinux is outdated)
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2014-05-04 10:37:32 +02:00