Overview of changes:
* Added 'newstub', builder script to help with new projects
The script is intended to help start up new MKit project by generating
structure necessary for MKit to work, and instructing user which
parts to review and how.
* Fixed bug when skeletons could be deployed as part of directory
If directory targeted in [files] section contained .skel files, they
would get deployed along with built files.
* Code refactoring
Moved global variables to new vars.sh module, improved initialization
and importing code and added file headers.
* Improved patch importer utility
Overview of changes:
* Enabled rpmstuff and debstuff specific tokens
These can be used to (somewhat hackishly) try to mitigate
differenceds between distros.
* Fixed printing error message to stdout
* Fixed broken error message
* Big code cleanup
Only refactoring, but we needed to get up to date with style.
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.
Overview of changes:
* Changelog will be included in tag annotation message.
The changelog generated by `vbump_*` target will be included in tag
annotation message. The annotation message is meant as release note
of sorts, so it makes sense to have the changelog there. (For
example, GitHub will use the message as release note on Releases tab
of a project.)
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.)
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_*.
although I haven't been able to put my finger on it, git-log must have
changed between Debian's 2.1.4 and Fedora's 2.5.something. The previous
version worked on Fedora but not on Debian; hopefully this solution is
more robust.
This is the last version where we tolerate incompatible changes in
mkit.ini and from now on, all mkit.ini files must have the version line
(in first 3 or last 3 lines).
As per my interpretation of SemVer, if major version is 0, we may
introduce incompatible changes within minor, in that case we check that
as well. Otherwise, we just check the major.
Merge sections lists, debstuff and rpmstuff to dist
They are all about "distribution", rpmstuff and debstuff have basically
just one item, and having "lists" section was ugly and meaningless in
the first place.
Merge all files:group sections into one, where key is name of the group
and value is source name, optionally followed by destination path.
This breaks old mkit.ini's, but significantly simplifies future ones.
1. Only one section is needed,
2. group list is implied from the files section, removing the need
of lists:group,
3. destination path has been made optional (by default, basename of
the source path is used).