Alois Mahdal
0b17979006
Allow overriding version
Not everyone likes v0.0.0. While it's trivial to change, the other
reason for this is scenario when user just updates (re-builds) the
meta-data.
9 vuotta sitten
Alois Mahdal
30ad9a5e41
Respect MKIT_INI environment variable
Not everyone wants mkit.ini in the root.
9 vuotta sitten
Alois Mahdal
834dc80d9f
Don't always add LICENSE.md to dist.tarball
9 vuotta sitten
Alois Mahdal
96e2b4490b
Align surrounding code after last change
9 vuotta sitten
Alois Mahdal
ef15f739f4
Use boolean to decide whether LICENSE.md should be deployed
Being consistent leads to much more readable code.
9 vuotta sitten
Alois Mahdal
162fd94a61
Fix messed up addition of README.md and LICENSE.md in mkit.ini
9 vuotta sitten
Alois Mahdal
0246c2a538
Move version directive to end of file
9 vuotta sitten
Alois Mahdal
4f8d887447
Hide (but explain relevance of) the `#mkit version` directive
9 vuotta sitten
Alois Mahdal
34c4b0cf5d
Improve "Next steps" in README
Try to show user also "why" they might want to do it.
9 vuotta sitten
Alois Mahdal
96750d9f7b
Fix missing negation
9 vuotta sitten
Alois Mahdal
b481c68fe6
Bump version
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
9 vuotta sitten
Alois Mahdal
dfe09d2b2b
Update own dogfood
9 vuotta sitten
Alois Mahdal
c5cb812218
Avoid deploying skeletons inside a directory
We had to switch to recursive mode so that we can control more precisely
what gets installed.
9 vuotta sitten
Alois Mahdal
fdefaa3013
Add 'newstub', builder script to help with new project
9 vuotta sitten
Alois Mahdal
6c5f673968
Add project name, tagline and LICENSE mention to all headers
9 vuotta sitten
Alois Mahdal
4c69c6b59b
Move global variables to new vars.sh module
9 vuotta sitten
Alois Mahdal
853dde7823
Move init failure code to die_init() (formerly die())
9 vuotta sitten
Alois Mahdal
e103c6bca8
Add custom import function mkit_import()
To minimize code needed to import a module
9 vuotta sitten
Alois Mahdal
adc1394727
Also "un-build" __MKIT_PROJ_VERSION__ token
9 vuotta sitten
Alois Mahdal
3fdbb94d08
Also replace paths on ^diff lines
9 vuotta sitten
Alois Mahdal
8ecf07047f
Bump version
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.
9 vuotta sitten
Alois Mahdal
ef109f9089
Update own dogfood
9 vuotta sitten
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!
9 vuotta sitten
Alois Mahdal
d46b39ae0b
Print error message to stderr, not stdout
9 vuotta sitten
Alois Mahdal
fdcf53e893
Enable rpmstuff and debstuff specific tokens
Can be useful in cases when Debian and RHEL/Fedora/... paths differ.
9 vuotta sitten
Alois Mahdal
bca03a6e85
Split line that got too long
9 vuotta sitten
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.
9 vuotta sitten
Alois Mahdal
1c48ab443c
Update and add function docstrings
9 vuotta sitten
Alois Mahdal
3b35bb9513
Remove unnecessary quotes and semicolons
Where not required, they only add visual cruft.
9 vuotta sitten
Alois Mahdal
9892a15371
Use read builtin safely
9 vuotta sitten
Alois Mahdal
5964bade7b
Do not use unknown variable
Probably leftover from slightly different implementation. There's
nothing to add to the error message now.
9 vuotta sitten
Alois Mahdal
2c2b326204
Remove inefficient ShellCheck test
In this file we declare lot of globals and source lot of code, and
basically do only that, which makes this check less useful.
9 vuotta sitten
Alois Mahdal
cce1633187
Bump version
Overview of changes:
* Added `vbump` and `release` targets, defaulting to Z
9 vuotta sitten
Alois Mahdal
9bf9f47afa
Update own dogfood
9 vuotta sitten
Alois Mahdal
a0af950919
Add `vbump` and `release` targets, defaulting to Z
9 vuotta sitten
Alois Mahdal
1373b7b1ec
Bump version
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.)
9 vuotta sitten
Alois Mahdal
bffaef242c
Update own dogfood
9 vuotta sitten
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.)
9 vuotta sitten
Alois Mahdal
9b0e4c1449
Bump version
Overview of changes:
* Fixed bug when 'src' directory must have existed to build anything
* Improved README
10 vuotta sitten
Alois Mahdal
e229f3436b
Explain why version tag is necessary
10 vuotta sitten
Alois Mahdal
07422a98ee
Don't assume 'src' directory when building
10 vuotta sitten
Alois Mahdal
c305a19fe2
Bump version
Overview of changes:
* Added codename back to tag annotation message
* Added README.md
10 vuotta sitten
Alois Mahdal
294d8abf27
Update own dogfood
10 vuotta sitten
Alois Mahdal
1364fa1496
Remove unused variable
10 vuotta sitten
Alois Mahdal
42eab359e4
Fix codename in tag annotation message
10 vuotta sitten
Alois Mahdal
05fe7311c6
Add README.md
10 vuotta sitten
Alois Mahdal
40685a42d3
Bump version
Overview of changes:
* Enabled overriding of bump size (MKIT_BUMPSIZE)
10 vuotta sitten
Alois Mahdal
231a5cf67e
Update own dogfood
10 vuotta sitten
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_*.
10 vuotta sitten
Alois Mahdal
0e9f994bcf
Bump version
Overview of changes:
* Added (mandatory) mkit.ini version checks
* Revamped parts of mkit.ini structure
* Dry mode now implies debugging mode
* Fixed latest_tag git fact
* Made reldst optional
* Removed ini() debugging
* Removed unnecessary exports
* Code clean up and maintenance
10 vuotta sitten