Folke Lemaitre
2a6a2dce1b
fix(git): tagrefs
2024-06-28 18:31:12 +02:00
Piotr Król
d0d410bc22
fix(git): comment sign detection in get_config function ( #1281 )
...
- Modify the condition in the get_config function to correctly ignore
comments and blank lines.
- Update the regular expression to exclude lines starting with '#' or
';'.
- This change ensures that only valid key-value pairs are added to the
configuration table.
2024-01-20 15:05:26 +01:00
Folke Lemaitre
22bf6ae04b
style: sort requires
2023-10-09 11:25:42 +02:00
Sean Baildon
53be2c0ee1
fix(git): always set origin name when cloning ( #622 )
...
* fix(git): force origin name
* Revert "fix(git): honor clone.defaultRemoteName. Fixes #602 "
This reverts commit 5af93806aa
.
2023-03-05 14:09:15 +01:00
Folke Lemaitre
5af93806aa
fix(git): honor clone.defaultRemoteName. Fixes #602
2023-02-28 10:51:17 +01:00
Folke Lemaitre
bd37afc96e
fix(git): when a `Plugin.branch` is set, don't use `config.defaults.version`. Fixes #409
2023-01-17 13:14:25 +01:00
Folke Lemaitre
208f91b52f
feat(git): some debugging tools for git
2023-01-16 20:41:29 +01:00
Folke Lemaitre
a39fa0f0ce
feat(git): added fast `Git.get_origin` and `Git.get_config`
2023-01-08 08:05:44 +01:00
Folke Lemaitre
f36c7cb0dc
feat(version): allow version=false to override default version
2023-01-03 21:19:20 +01:00
Folke Lemaitre
dc9c92a9b3
fix(git): properly compare git commits with short refs
2023-01-03 09:36:43 +01:00
Folke Lemaitre
cb29427926
fix(git): always get both tag and version
2022-12-31 09:36:08 +01:00
Folke Lemaitre
865ff414c7
feat(git): added support for packed-refs. Fixes #260
2022-12-31 09:32:44 +01:00
Folke Lemaitre
86eaa118c6
fix(git): dereference tag refs. Fixes #54
2022-12-21 10:13:23 +01:00
Folke Lemaitre
ae379a62dc
fix(git): fixed branch detection, get target commit from origin and always checkout a tag or commit so we dont need to use git merge
2022-12-02 11:26:07 +01:00
Folke Lemaitre
fb96183753
feat: allow config of default for version field
2022-11-30 23:15:26 +01:00
Folke Lemaitre
d486bc586b
fix: get current branch if remote head not available (for local repos only)
2022-11-29 08:19:55 +01:00
Folke Lemaitre
fb84c081b0
feat: lots of improvements to pipeline runner and converted all tasks to new system
2022-11-28 22:03:44 +01:00
Folke Lemaitre
2abdc681fa
feat: new git module to work with branches, tags & versions
2022-11-28 11:36:12 +01:00