0
0
forked from toolshed/abra
Commit Graph

90 Commits

Author SHA1 Message Date
d7a870b887 feat: remote recipes 2024-07-10 12:06:44 +02:00
0ff8e49cfd docs: pass on sub-command help 2024-07-09 09:43:18 +02:00
4ccb4198d6 fix: "recipe version" handles non-catalogue recipes 2024-07-08 14:26:26 +02:00
a9f7579ca9 fix: remove old logrus calls 2024-07-08 14:21:17 +02:00
87ecc05962 refactor(recipe): remove direct usage of config.RECIPE_DIR 2024-07-08 13:48:02 +02:00
f14d49cc64 refactor(recipe): rename Recipe2 -> Recipe 2024-07-08 13:19:40 +02:00
5617a9ba07 refactor(recipe): remove remaining usage of old recipe struct 2024-07-08 13:15:20 +02:00
c1b03bcbd7 refactor(recipe): load load compoes config where its used 2024-07-08 12:31:39 +02:00
ca1db33e97 refactor(recipe): remove Dir method on old struct 2024-07-08 11:48:53 +02:00
eb62e0ecc3 refactor(recipe): move Tags method to new struct 2024-07-08 11:45:47 +02:00
47013c63d6 refactor(recipe): use template for ssh url 2024-07-08 10:56:08 +02:00
ef108d63e1 refactor: use central logger 2024-07-08 00:01:28 +02:00
300a4ead01 fix: stop using deprecated APIs 2024-06-19 19:14:52 +02:00
af8cd1f67a feat: abra release now asks for a release note (!393)
This implements coop-cloud/organising#540 by checking if a`release/next` file exists and if so moves it to `release/<tag>`. When no release notes exists it prompts for them.

Reviewed-on: coop-cloud/abra#393
Reviewed-by: moritz <moritz.m@local-it.org>
Co-authored-by: p4u1 <p4u1_f4u1@riseup.net>
Co-committed-by: p4u1 <p4u1_f4u1@riseup.net>
2023-12-12 14:46:20 +00:00
7f7f7224c6 feat: diff on release flow
Also, don't commit unstaged files.
2023-10-16 18:31:22 +02:00
76035e003e fix: recipe workflow with integration tests 2023-09-21 10:36:53 +02:00
0be532692d test: moar integration tests [ci skip] 2023-09-20 13:51:06 +02:00
23f5745cb8 fix: skip recipe clone / up to date sync for some commands
Continues work of 3dc5662821.
2023-08-01 21:19:20 +02:00
3dc5662821 fix: improved offline support
Closes coop-cloud/organising#471.
2023-07-26 08:16:07 +02:00
949510d4c3 revert: always clone latest recipe changes
This change was about trying to optimise for offline scenarios but
caused a lot of issues for the online case. It needs to be thought
through again.

See coop-cloud/organising#471.

Closes coop-cloud/organising#432.
2023-07-25 15:05:01 +00:00
e4b4084dfd fix: stream logs without hitting git.coopcloud.tech
Medium-sized options refactor in here too!

See coop-cloud/organising#292.
2023-02-13 16:46:43 +01:00
3wc
9e39e1dc88 docs: fix typo in error message 2022-12-22 19:27:42 -08:00
3b8893502a docs: re-word on docstrings [ci skip] 2022-05-13 16:44:49 +02:00
a0d7a76f9d fix: better error messages for release failures
See coop-cloud/organising#313
2022-04-19 10:20:35 +02:00
b5f23d3791 feat: show latest published version on sync 2022-02-09 08:58:20 +00:00
b2d17a1829 fix: ensure latest checked out for recipe upgrade 2022-01-29 13:35:42 +01:00
f9a2c1d58f refactor: put StripTagMeta into formatter package
Avoid circular import.
2022-01-19 10:40:14 +01:00
0e688f1407 refactor!: migrate to urfave/cli v1
Better flexible flags handling.
2022-01-18 14:38:20 +01:00
88f9796aaf fix: let us know if not pushing changes without dry-run (recipe release) 2022-01-18 10:55:07 +01:00
6cdba0f9de fix: commit changes if dry-run not present (recipe release) 2022-01-18 10:54:54 +01:00
d9f3a11265 fix: gracefully handle missing tag for syncing 2022-01-05 18:04:46 +01:00
74dfb12fd6 refactor: centralise tag meta stripping 2022-01-05 17:32:33 +01:00
625747d048 fix: get right url 2022-01-02 15:54:46 +01:00
d957adb675 docs: update the release description 2021-12-31 16:48:03 +01:00
5254af0fe4 fix: handle no changes edge case for recipe release 2021-12-31 13:45:01 +01:00
ce96269be0 fix: more fixed for dry mode, this time tested :)
Follows 299276c383.
2021-12-31 13:37:03 +01:00
299276c383 fix: handle dry run output result correctly 2021-12-31 13:17:50 +01:00
8785f66391 feat: link direct to tag 2021-12-28 03:40:18 +01:00
24882e95b4 fix: take version from sync when releasing 2021-12-28 03:40:02 +01:00
1fd0941239 refactor: improved version choice flow 2021-12-28 03:19:32 +01:00
1f91b3bb03 fix: add prompt before publishing 2021-12-28 01:51:39 +01:00
f5d2d3adf6 refactor: formatter gets own package 2021-12-28 01:24:23 +01:00
0aa37fcee8 refactor!: simplifying publish logic 2021-12-27 19:56:27 +01:00
eb1b6be4c5 fix: auto-config ssh urls and push to them 2021-12-27 18:06:56 +01:00
4c186678b8 fix: clone https url by default
Catalogue package had to be merged into the recipe package due to too
many circular import errors. Also, use https url for cloning, assume
folks don't have ssh setup by default (the whole reason for the
refactor).
2021-12-27 16:45:56 +01:00
e2c3bc35c3 fix: handle missing label 2021-12-25 17:02:47 +01:00
4283f130a2 refactor: apps -> recipes 2021-12-25 14:04:07 +01:00
014d32112e fix: ensure tags & commits are pushed 2021-12-23 02:24:43 +01:00
7a5aa1b005 test: make them work again 2021-12-23 01:06:56 +01:00
4c6d52c426 fix: clean up if things go wrong 2021-12-22 14:01:49 +01:00