Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • juerg/cache-query-job-benchmark
  • bst-1 protected
  • juerg/cache-query-job
  • tristan/fix-recursive-artifact-pull
  • nanonyme/remove-fix-python-timestamps
  • tristan/shell-artifacts
  • bschubert/update-coverage
  • juerg/remote-cache
  • nanonyme/subprocess-devnull
  • tristan/artifact-extensions
  • tpollard/custom-platform-properties
  • juerg/buildbox
  • chandan/update-reqs
  • chandan/moar-runners
  • tpollard/optional-sandbox-properties
  • nanonyme/fix-tests
  • bschubert/standardize-source-tests
  • nanonyme/warn-nofile
  • abderrahim/stage-artifact-scriptelement
  • 1.6.1
  • 1.6.0
  • 1.93.5
  • 1.5.1
  • 1.93.4
  • bst-1.4-branchpoint protected
  • 1.5.0
  • 1.4.3
  • 1.93.3
  • 1.93.2
  • 1.4.2
  • 1.93.1
  • 1.93.0
  • 1.91.3
  • 1.91.2
  • 1.91.1
  • 1.91.0
  • bst-1-branchpoint protected
  • 1.4.1
  • 1.4.0
40 results

git.py

  • Valentin David's avatar
    82513109
    git source plugin: Track git tags and save them to reproduce a minimum shallow repository · 82513109
    Valentin David authored
    Instead of tag information being fetched which can change with time,
    they are tracked and saved in the projects.refs/.bst. Then we re-tag
    automatically the closest tag so that `git describe` works and is
    reproducible.
    
    This new feature is opt-in with the new `track-tags` configuration,
    and must be used to fix modules which are broken by our new policy
    of omitting the `.git/` repository when staging git sources.
    
    This fixes issue #487
    82513109
    History
    git source plugin: Track git tags and save them to reproduce a minimum shallow repository
    Valentin David authored
    Instead of tag information being fetched which can change with time,
    they are tracked and saved in the projects.refs/.bst. Then we re-tag
    automatically the closest tag so that `git describe` works and is
    reproducible.
    
    This new feature is opt-in with the new `track-tags` configuration,
    and must be used to fix modules which are broken by our new policy
    of omitting the `.git/` repository when staging git sources.
    
    This fixes issue #487