3e82b0085b
Make development version strings PEP 440 compliant ( #366 )
...
With current pip (23.1.2) and setuptools (67.7.2) versions, installation
from Git was failing with "Invalid version: '7.0.0-17-ge57cf1e7'"
message. The issue can be reproduced by running the following command
with the latest pip and setuptools installed:
$ pip install git+https://code.ungleich.ch/ungleich-public/cdist.git@e57cf1e70a3818180b3f54e1e0364ff3b6bbd9cc#egg=cdist
Reviewed-on: #366
Co-authored-by: Ľubomír Kučera <lubomir.kucera.jr@gmail.com>
Co-committed-by: Ľubomír Kučera <lubomir.kucera.jr@gmail.com>
2024-05-01 12:11:07 +00:00
Nico Schottelius
be6e7fcc08
Prepare release of cdist 7.0.0
2022-07-31 21:59:35 +02:00
Dennis Camera
1c047353a9
[bin/cdist] Fix Python version check
2021-04-17 09:57:10 +02:00
Darko Poljak
76aa00b12e
Fix importing cdist module
...
Resolve #845 .
2020-11-14 10:23:43 +01:00
Dennis Camera
2f70a8b540
[bin/cdist-build-helper] Keep going in shellcheck targets
2020-11-11 15:25:46 +01:00
Dennis Camera
e2d4f8037a
[bin/cdist-build-helper] Fix paths to ex scripts/ scripts
2020-11-11 14:45:05 +01:00
6964070282
s/build-helper/cdist-build-helper/
2020-10-18 17:13:22 +03:00
d20fb74324
use os.path.realpath instead, because it eliminates any symbolic links encountered in the path
2020-10-17 23:16:42 +03:00
174aa77280
__file__ already is absolute
2020-10-16 14:11:00 +03:00
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