Support GitLab as an alternative to GitHub · Issue #249 · TezRomacH/python-package-template · GitHub
Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Support GitLab as an alternative to GitHub #249

Open

Description

@pksol

🚀 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

Activity

  1. TezRomacH commented on Feb 26, 2021

    @TezRomacH
    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.

  2. a1d4r commented on Sep 20, 2023

    @a1d4r

    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.

  3. pksol commented on Sep 20, 2023

    @pksol
    ContributorAuthor

    Thanks @a1d4r ! Looks promising

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions