Commit Graph

10 Commits

Author SHA1 Message Date
Jarek Radosz 7cb07ca0a0
DEV: Update linting (#198) 2023-12-13 21:16:57 +01:00
David Taylor 4a493543de
DEV: Support new discourse-compatibility format on old core (#186)
This introduces a fallback compatibility parser, identical to the one introduced in https://github.com/discourse/discourse/pull/22714

This will allow Docker Manager to parse new compatibility files, even when running on older Discourse instances. This is only intended as a temporary solution, and will be removed before the Discourse 3.2 release.
2023-07-25 14:31:27 +01:00
Gerhard Schlager cf9975ad56
FIX: Upgrading was broken when repo uses `master` branch (#180) 2023-04-20 18:24:14 +02:00
Gerhard Schlager 6293c3d948
FEATURE: Adds support for git tags (#177)
* FEATURE: Adds support for git tags

* Detects when the tracked branch has been deleted from `origin` and forces a rebuild on the command line
* Allows updating when a tag is tracked and the tag was moved to a new commit
* Improves support for shallow clones
* Works with partial clones
* Adds lots of specs for git commands and replaces the existing specs. All specs use real git repositories instead of mocks
2023-04-19 19:17:48 +02:00
Gerhard Schlager e90c8f55fc DEV: Apply syntax_tree formatting with config from core 2023-03-08 13:41:34 +01:00
Jarek Radosz dcad087190 DEV: Update specs 2023-02-16 14:09:33 +01:00
Jarek Radosz 4ab63aca32 DEV: Run stree 2023-02-16 14:09:33 +01:00
Robin Ward a27337faf2
FEATURE: Prefer `origin/main` over `origin/master` if it exists (#89)
This allows us to rename the main branch for plugin repos to
`origin/main` and docker_manager should continue to work.
2021-02-05 11:27:12 -05:00
Guo Xiang Tan 00617a1fb5 Add frozen string literal comment to files. 2019-05-13 11:16:32 +08:00
Robin Ward 8f6be9c592 SECURITY: Make sure a repo exists before acting on it
Also includes refactors to clean up linting / code, adds specs
and changes the usage pattern to something safer
2018-06-15 15:15:17 -04:00