Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Support GitLab as an alternative to GitHub #249

Open
pksol opened this issue Feb 16, 2021 · 3 comments
Open

Support GitLab as an alternative to GitHub #249

pksol opened this issue Feb 16, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@pksol
Copy link
Contributor

pksol commented Feb 16, 2021

🚀 Feature Request

Allow the user to specify the "flavor" of the git repository (and CI) as one of the parameters.

🔈 Motivation

Many Python developers use GitLab (or other git repositories like BitBucket for that matter). Using the template as is, requires several manual changes to be applied later:

  1. Delete the GitHub actions and create and populate the .gitlab-ci.yml
  2. Update links in the readme and other documentation
@pksol pksol added the enhancement New feature or request label Feb 16, 2021
@TezRomacH
Copy link
Owner

Hi! Sorry for the late response.

The idea looks nice! I wouldn't want to remove GitHub entirely, we should keep it too.

Can you contribute the updates? That would be another choice when creating a repository – "Which hosting to use?". With the options of GitHub and GitLab.

@a1d4r
Copy link

a1d4r commented Sep 20, 2023

Hi! I supported GitLab CI in my own fork of the template.

You can take a look at it here:
https://github.com/a1d4r/python-package-template/blob/master/%7B%7B%20cookiecutter.project_name.lower().replace('%20'%2C%20'-')%20%7D%7D/.gitlab-ci.yml

I won't make a PR to this repo because I changed the fork drastically for my own needs. There is no more Github templates, bots, and badges because I prefer to keep the template simple. In addition, you can have a look at updated Dockerfile and Python 3.11 support.

@pksol
Copy link
Contributor Author

pksol commented Sep 20, 2023

Thanks @a1d4r ! Looks promising

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants