Philippe Pittoli
2a38ae6d9e
minor grooming
2021-03-10 02:45:01 +01:00
Philippe Pittoli
42235d107d
reading options and user phases in /etc/packaging.cfg
2021-03-09 19:09:02 +01:00
Philippe Pittoli
15ccc1518e
main.cr => tools/package-create.cr
2021-03-09 18:01:48 +01:00
Philippe Pittoli
5ce3856eb9
Minor changes: comments in instructions.cr
2021-03-09 17:57:47 +01:00
Philippe Pittoli
c8ff92b508
New package-create version. See more in git log.
...
This new version has a new code structure:
- context now has (configure|building|install)_backends attributes
- Package::Instructions now only is a wrapper around Array(String)
with a phase name and a 'run' method
- new phases, with total user control through recipes:
source-split, (pre-)?(configure|build|install) and post-install
- Do.cp
Misc:
- baguette backend removes the data.tar before processing the manifest
- new '-doc' split
- check for `bsdtar` in the PATH before doing anything
- logs are way more verbose
2021-03-09 17:51:51 +01:00
Philippe Pittoli
e218282594
Comments, grooming, new phases (src-split, pre- and post-)
2021-03-03 05:21:54 +01:00
Philippe Pittoli
5f2e4d603c
shame shame shame
2021-03-02 17:45:09 +01:00
Philippe Pittoli
999a134221
restored log file path
2021-03-02 17:29:11 +01:00
Philippe Pittoli
8392363d49
Massive refactoring. See more in git log.
...
This refactoring includes:
- the use of baguette-crystal-base (Baguette::Log, Baguette::Context for verbosity and logfile)
- moving configure, build, install and splits backends into dedicated files
- removing a lot of code from Package::Context (it was a mess, still kinda is)
- fix 32-bit integer bug from APK backend
- some API changes in packaging backends to remove the context instance
it was replaced by two parameters: package directory and architecture
- Baguette, APK and PkgUtils now share (kinda) the same coding style
2021-03-02 15:42:17 +01:00
Philippe Pittoli
e0d3c6bf7e
test program new SpecParser API
2021-03-02 10:34:40 +01:00
Philippe Pittoli
afaf5c2fda
baguette backend overflow bugfix, baguette package tool
2021-03-02 10:33:54 +01:00
Philippe Pittoli
a1df0745d7
Baguette splits are working, tests available cmd
2021-03-01 09:04:04 +01:00
Philippe Pittoli
20376a36ed
`backend`#install packages
2021-02-28 20:56:51 +01:00
Karchnu
a4c53f2b8c
build-cores, logs
2021-02-22 17:14:00 +01:00
Karchnu
72aceb035d
backend name is now package manager name, error if incorrect in conf file
2021-02-22 00:52:38 +01:00
Karchnu
492ce2f9cc
print context, simple pp! for now, better display later
2021-02-22 00:32:29 +01:00
Karchnu
4decf96f10
working directory now configurable
2021-02-22 00:31:51 +01:00
Karchnu
5ad65f00ec
packaging.spec configuration example, few comments in src/context.cr
2021-02-20 22:15:08 +01:00
Karchnu
7924f15376
shard.yml updated: description, author
2021-02-20 10:46:59 +01:00
Karchnu
68a9a7f50d
Updated Makefile (new build.zsh 0.4.1)
2021-02-20 10:05:04 +01:00
Karchnu
fecac6b3d5
weirdos => baguetteos, zstd, removing deprecated function call
2021-02-20 10:04:18 +01:00
Philippe PITTOLI
3b6d14392c
Baguette.
2020-04-13 18:21:27 +02:00
Luka Vandervelden
ae43eda669
Fixes file://.
2019-11-05 14:08:33 +01:00
Luka Vandervelden
2eb87bdf25
SpecParser API update.
2019-11-05 13:52:37 +01:00
Luka Vandervelden
a207e47ce5
SpecParser update. New realease to match.
2019-09-27 13:59:23 +02:00
Luka Vandervelden
1b81f42366
Version bump.
2019-09-19 18:16:56 +02:00
Luka Vandervelden
aadd404516
STDOUT.flush calls added.
2019-09-19 18:16:24 +02:00
Luka Vandervelden
f8fea34206
Improved Weird backend.
2019-09-19 17:52:56 +02:00
Luka Vandervelden
c720f78f11
Fixes patches applying.
2019-09-19 17:52:44 +02:00
Luka Vandervelden
354d57a175
Version bump.
2019-09-14 19:25:58 +02:00
Luka Vandervelden
24de93ef3f
Automated patching.
2019-09-14 18:43:15 +02:00
Luka Vandervelden
5bfaacfd09
Weird backend manifest format update.
2019-09-14 17:44:01 +02:00
Philippe PITTOLI
817f6fe51c
version bump
2019-09-12 17:35:28 +02:00
Philippe PITTOLI
67114e257b
Renaming package => packaging.
2019-09-12 17:30:39 +02:00
Luka Vandervelden
42a0d5dc31
`.weird` manifest format update.
2019-09-10 16:31:29 +02:00
Luka Vandervelden
f5ff2de183
More drastic Recipe#clean.
2019-09-06 12:02:11 +02:00
Luka Vandervelden
8b98c20c96
Package.description: updated to String?
2019-09-06 11:13:15 +02:00
Luka Vandervelden
a8eb7ead40
Grooming, WIP “weird” backend.
2019-09-06 00:39:11 +02:00
Luka Vandervelden
9cc274f1de
Version bump.
2019-09-04 19:53:41 +02:00
Luka Vandervelden
7b57a2706d
-B, --print-deps option added.
2019-09-04 19:53:15 +02:00
Luka Vandervelden
3483577fa4
.PKGINFO format conformity.
2019-09-04 19:49:58 +02:00
Luka Vandervelden
c15397b8bb
Dependencies installation not done with -D.
2019-09-04 11:54:48 +02:00
Luka Vandervelden
a010687a90
Minor UI fix.
2019-09-04 00:58:20 +02:00
Luka Vandervelden
88336b0246
Version bump.
2019-09-04 00:54:31 +02:00
Luka Vandervelden
e9bf79964f
Improved stripping.
2019-09-04 00:53:38 +02:00
Luka Vandervelden
33f7ddc263
-n, --ignore-dependencies option added.
2019-09-03 13:15:07 +02:00
Luka Vandervelden
24ff4358d3
Verbosity control.
...
Multiple -v or -q flags can be provided to alter verbosity more. No log
file with full-verbosity is currently stored, but that’s a planned
feature.
2019-09-03 13:03:04 +02:00
Luka Vandervelden
a6b32e3420
`apk add` inherits stdin when called.
2019-09-02 16:40:33 +02:00
Luka Vandervelden
f495fdc520
Version bump.
2019-09-02 00:25:51 +02:00
Luka Vandervelden
582302b1db
apk backend: .PKGINFO error fixed
2019-09-01 17:29:44 +02:00