Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • repositories repositories
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • epmepm
  • repositoriesrepositories
  • Issues
  • #13

Add NoAutoCommit option to repositories

Description

The NoAutoCommit option marks repositories which should not be committed/checked out automatically on commit/checkout actions.

Use-Cases

  • The isNoAutoCommit() method is present in the repository model interface and returns a boolean
  • NoAutoCommit is supported by the repository templates but not user editable
  • NoAutoCommit is false by default
  • In the checkout job, the --skip parameter is removed
  • In the checkout job, the first attribute can be a repository name. If it is, only this repository will be checked out
  • In the checkout job, if no repository name is given, all repositories with NoAutoCommit=false will be checked out
  • In the commit job, the --skip parameter is removed
  • In the commit job, the first attribute can be a repository name. If it is, only this repository will be committed
  • In the commit job, if no repository name is given, all repositories with NoAutoCommit=false will be committed

Todo

  • Wiki updated
Assignee
Assign to
Time tracking