0
0
forked from toolshed/abra
Commit Graph

53 Commits

Author SHA1 Message Date
4923984e84 fix: not flaky catalogue generate
See toolshed/abra#464
2025-01-05 12:08:10 +01:00
a773fd4256 chore: spacing 2025-01-05 10:38:13 +01:00
b1a0d54bd3 fix: default to main then master 2025-01-05 10:37:30 +01:00
5975be6870 fix: unstaged changes handling
See toolshed/organising#651
2024-12-31 16:37:02 +01:00
bfed51a69c fix: no newline on status in logs 2024-12-31 08:26:35 +01:00
3f29084664 chore: refactor / docstrings 2024-12-21 19:22:26 +01:00
28c7676413 replace code-descriptive comments with method level comments 2024-12-15 09:53:28 -08:00
730fef09a3 add test for SwitchToMain 2024-12-14 18:41:34 -08:00
8d076a308a bubble up errors on branch switch 2024-12-14 18:26:22 -08:00
9510c04aeb new recipe default branch main instead of master 2024-12-12 19:08:18 -08:00
ff90b43929 fix: use struct data for HEAD retrieval
See ce7dda1eae
2024-07-10 15:51:11 +02:00
ef108d63e1 refactor: use central logger 2024-07-08 00:01:28 +02:00
b2485cc122 feat: add git-user and git-email flags to recipe new 2024-06-22 16:38:32 +00: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
903aac9d7a feat: recipe fetch command
Also may have rooted out another go-git cloning bug 🙄

Closes coop-cloud/organising#365
2023-01-23 09:26:53 +01:00
32de2ee5de fix: ensure catalogue is clean/up-to-date
Closes coop-cloud/organising#367
2023-01-22 17:52:36 +01:00
8458e61d17 fix: branch checking logic
See https://github.com/go-git/go-git/issues/518 for why this is needed.
2022-08-11 17:49:22 +02:00
ce96269be0 fix: more fixed for dry mode, this time tested :)
Follows 299276c383.
2021-12-31 13:37:03 +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
779c810521 refactor: less quotes, less verbose 2021-12-26 00:14:32 +01:00
ba8138079f fix: use one function for up-to-date checks 2021-12-25 23:45:52 +01:00
4283f130a2 refactor: apps -> recipes 2021-12-25 14:04:07 +01:00
8e8c241fdf refactor: less quotes 2021-12-24 00:44:49 +01:00
9b8ff1ddcd fix: get branch is now more robust 2021-12-24 00:44:44 +01:00
014d32112e fix: ensure tags & commits are pushed 2021-12-23 02:24:43 +01:00
fa45264ea0 refactor: the grand recipe release refactor 2021-12-21 19:25:44 +01:00
bf82bc9c7f feat: add dryflag, implement push for catalogue generate 2021-12-19 23:59:40 +01:00
5113db1612 refactor: centralise git commit machinery 2021-12-19 23:51:03 +01:00
88d4984248 docs: wording 2021-12-19 23:29:05 +01:00
d087a60e09 Revert "fix: dont throw away changes"
This reverts commit dd0f328a65.

Part of coop-cloud/organising#282.
2021-12-12 02:04:13 +01:00
3dbd343600 fix: dont double append root path 2021-12-11 20:24:38 +01:00
8393f4b134 fix: log discovered paths 2021-12-11 20:24:29 +01:00
8e56607cc9 fix: use default 2021-12-11 20:13:55 +01:00
85a543afac fix: maybe more robust gitignore checks 2021-12-11 20:11:59 +01:00
665396b679 fix: join path correctly 2021-12-11 20:01:30 +01:00
870c561fee Revert "Revert "fix: include ignored files""
This reverts commit 9be78bc5fa.

Attempting to fix this once again.
2021-12-11 19:53:35 +01:00
2db5378418 fix: dont add .git dirs
Closes coop-cloud/organising#276.
2021-12-05 01:30:23 +01:00
9be78bc5fa Revert "fix: include ignored files"
This reverts commit aea5cc69c3.
2021-12-03 11:39:56 +01:00
dd0f328a65 fix: dont throw away changes
Part of coop-cloud/organising#226.
2021-11-22 21:11:59 +01:00
aea5cc69c3 fix: include ignored files
Part of coop-cloud/organising#226.
2021-11-22 21:11:59 +01:00
a18729bf98 fix: ensure changes are check for
Part of coop-cloud/organising#255.
2021-11-22 17:49:31 +01:00
1f6e4fa4a3 fix: ensure to init/commit the new recipe repo
Part of coop-cloud/organising#247.
2021-11-15 18:55:13 +01:00
4a245c3e02 fix: ensure .git repo exists
Part of coop-cloud/organising#247.
2021-11-15 18:55:13 +01:00
7f176d8e2f fix: ensure logging for status checks
Closes coop-cloud/organising#226.
2021-11-02 15:15:52 +01:00
3b77607f36 fix: better error messages for missing repos 2021-11-02 13:36:40 +01:00
2f9b11f389 feat: support deploying with chaos mode 2021-10-18 08:14:06 +02:00
ae32b1eed2 fix: standardise checkout options 2021-10-14 12:17:58 +02:00