git plugin's track-tags option isn't enough for gnulib's git-version-gen

Open
#4 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
git, python
Domain
build-system

Research direction

Start at the git plugin's track-tags handling and reproduce the failure with gnulib's git-version-gen, comparing git describe, git log, and git log .. Done means the slimmed-down .git directory supports the script without the reported missing-tree error.

Written by the indexing model from the issue text.

Description

When the track-tags option of the git plugin is enabled, it generates a slimmed-down .git directory enough for git describe and git log to succeed.

However gnulib's git-version-gen script relies on git log . which doesn't work, and returns an error like

fatal: unable to read tree 1bdaa2ce628b458ab6a7c9e03023a9aed221cf75
Dominant language
Python
Stars
8
Forks
16
Avg merge
36m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/buildstream-plugins

All issues in apache/buildstream-plugins

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.