Alois Mahdal
faf44ea6cb
Do not break with long releases
If release contains many commits and/or those commits contain many
changed files, the command line could grow past OS limit. Using stdin
avoids this.
преди 7 години
Alois Mahdal
67bad3188f
Sweep internals deeper under carpet
Single underscore will be used for not-so-hidden names.
преди 7 години
Alois Mahdal
e40240abd2
Prefix newline before each item in changelog
The changelog is intended to be edited, but it's more convenient this
way (especially if you're like me, using Vim and '{' and '}' as major
means of moving around.
преди 7 години
Alois Mahdal
d59dc961d9
Do not fail if reldst == relsrc
Defining same reldst as relsrc is useless, but does not harm, so we can
let it slip through.
преди 7 години
Alois Mahdal
772c962f77
Enable 'release' and 'vbump' targets directly in mkit/make
Usage of GNU Make really is just a sugar, so we should enable all
targets also for direct mkit/make invocation.
преди 7 години
Alois Mahdal
6c5f673968
Add project name, tagline and LICENSE mention to all headers
преди 7 години
Alois Mahdal
e103c6bca8
Add custom import function mkit_import()
To minimize code needed to import a module
преди 7 години
Alois Mahdal
b44e804804
Use more compact `do`/`then` form
Drop the unnecessary and space-wasting requirement that `do` and `then`
must be alone on line. It's a thing of the past!
преди 7 години
Alois Mahdal
c03e679e10
Fix style of local variable declarations
Decouple variable declarations so that each can have docstring.
In case of _relck() we also rename variable $relsrc to a more
context-specific term $oracle.
преди 7 години
Alois Mahdal
1c48ab443c
Update and add function docstrings
преди 7 години
Alois Mahdal
3b35bb9513
Remove unnecessary quotes and semicolons
Where not required, they only add visual cruft.
преди 7 години
Alois Mahdal
5964bade7b
Do not use unknown variable
Probably leftover from slightly different implementation. There's
nothing to add to the error message now.
преди 7 години
Alois Mahdal
99ff8e5296
Include changelog annotation message
Annotation message is meant as official release note, so including it
there makes sense.
(For example, GitHub will use it to create release note under Releases tab.)
преди 8 години
Alois Mahdal
1364fa1496
Remove unused variable
преди 8 години
Alois Mahdal
42eab359e4
Fix codename in tag annotation message
преди 8 години
Alois Mahdal
1630a2752c
Allow overriding bump size (MKIT_BUMPSIZE)
If for some reason, user wants to skip a version or two, this will
override version bumping in vbump_* and some checks new and tag
creation in release_*.
преди 8 години
Alois Mahdal
2b26c1c7f5
Make reldst optional
No need to bug everybody with relsrc/reldst
преди 8 години
Alois Mahdal
dba6f86d34
Refactor versioning and release
Some parts got a bit confusing over time, also there was repetition.
In this commit:
* the release fact gathering routines have been moved to separate
module,
* some less useful routines have been removed,
* some internal interfaces have been changed to allow for more
readable code.
преди 8 години
Alois Mahdal
71468517c9
Naming convention: Sort functions aplhabetically
преди 8 години
Alois Mahdal
de35ae9ae1
Naming convention: Prefix internal functions with _
преди 8 години
Alois Mahdal
dfb3fd3d69
Get rid of unnecessary global
преди 8 години
Alois Mahdal
ebb7510cee
Move version to mkit.ini
преди 8 години
Alois Mahdal
231e822f38
Move PRERELEASE to mkit.ini
преди 8 години
Alois Mahdal
8c65327f70
Move RELSRC and RELDST parameters to mkit.ini
преди 8 години
Alois Mahdal
c8e285db22
Use better qualified global names
Make it clear what's related to the packaged project.
преди 8 години
Alois Mahdal
ba597b1934
Add label to mini-changelog
преди 8 години
Alois Mahdal
fa997ed8aa
Add filename lists to mini-change-log template
преди 8 години
Alois Mahdal
8b044c5abc
Fix tag format errors
v0.0.0 vs vv0.0.0 vs 0.0.0
преди 8 години
Alois Mahdal
f38bf45bb1
Fix VERSION parsing from config.mk
преди 8 години
Alois Mahdal
06219b61d0
Fix sed error when generating changelog data
преди 8 години
Alois Mahdal
8fec923786
Add version bump/CL helper targets
преди 8 години
Alois Mahdal
fe1646c7e2
Rewrite __release blocking condition system
New "functional-like" design makes it simpler to understand, extend,
re-order and re-use blocking conditions.
Also, the "old looks newer" condition was dropped as it's not really
necessary under such simplistic conditions.
преди 8 години
Alois Mahdal
92173e208a
Clear incorrect modes
преди 9 години
Alois Mahdal
a9b5e304eb
Move from fastfoo version 0.7.0+master.g7fde2b3
преди 9 години