index : devtools32 | |
Archlinux32 fork of devtools | gitolite user |
summaryrefslogtreecommitdiff |
Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-05-20 | config: allow suppying the gitlab token via env var | Christian Heusel | |
This would allow to supply the gitlab tokens via the env var DEVTOOLS_GITLAB_TOKEN and therefore allow users to choose whatever program they want to fill this env var. Closes #113 Signed-off-by: Christian Heusel <christian@heusel.eu> Signed-off-by: Levente Polyak <anthraxx@archlinux.org> | |||
2023-05-20 | edit: improve editor presence checking | Campbell Jones | |
Adds a check for the configured Git editor (git config core.editor) in both commitpkg and build.sh. Additionally, instead of blindly executing vi when all other options are exhausted, remove it instead as it is a none standard installed editor anyway. Closes #106 Signed-off-by: Levente Polyak <anthraxx@archlinux.org> | |||
2023-05-20 | gitlab: add project path function to map special chars | Levente Polyak | |
Automatic path conversion is limited to GitLab API v4 and will be removed in the future. It's expected that the caller does the path conversion on caller side and only passes a valid path to the API within its limitations. Hence convert project names to valid paths: 1. replace single '+' between word boundaries with '-' 2. replace any other '+' with literal 'plus' 3. replace any special chars other than '_', '-' and '.' with '-' 4. replace consecutive '_-' chars with a single '-' 5. replace 'tree' with 'unix-tree' due to GitLab reserved keyword Signed-off-by: Levente Polyak <anthraxx@archlinux.org> | |||
2023-05-20 | repo-configure: automatically determine protocol from packager identity | Levente Polyak | |
The remote protocol is automatically determined from the author email address by choosing SSH for all official packager identities and read-only HTTPS otherwise. Signed-off-by: Levente Polyak <anthraxx@archlinux.org> | |||
2023-05-20 | build: command to build packages inside a clean chroot | Levente Polyak | |
2023-05-20 | build: replace m4 defines with sed scripts during build | Levente Polyak | |
There is no reason anymore to use m4 since we got rid of the includes by using library files. Let's replace the last usage of m4 and completely red rid of it. Signed-off-by: Levente Polyak <anthraxx@archlinux.org> | |||
2023-05-19 | release: command to commit, tag and upload build artifacts | Levente Polyak | |
This is a smart and more convenient invocation of the classical commitpkg and archrelease with auto-discovery for target repositories and a shorthand option to directly call db-update. | |||
2023-05-19 | git: convert repos and tags config to new repo layout | Levente Polyak | |
2023-05-19 | db: command for Pacman database modification like update, move etc | Levente Polyak | |
2023-05-19 | repo: added command to create a new packaging repository | Levente Polyak | |
2023-05-19 | auth: implemented module to authenticate against our GitLab | Levente Polyak | |
This helps to have a convenient way to manage and test our personal GitLab tokens. Those are used for certain API calls like creating new repositories. prefill the access token web view as per https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html#prefill-personal-access-token-name-and-scopes Signed-off-by: Levente Polyak <anthraxx@archlinux.org> | |||
2023-05-19 | gitlab: implemented module for required API calls | Levente Polyak | |
We need to use API calls as we can't create repositories in protected namespaces by simply pushing a none existing repository. For privacy reasons this is limited to private personal repositories in GitLab. | |||
2023-05-19 | config: implemented simple config module to store token and settings | Levente Polyak | |
2023-05-19 | src: modularize repo layout into a library | Levente Polyak | |
This will greatly help us to structure the functionality and commands in a more sane way. We will distribute the sources as actual libraries and reuse code with imports instead of processing everything with m4 and duplicating a lot of code. |