Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

test & release_notes assume repo location

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
cli

Research direction

Start by tracing the test and release_notes features to see how each locates the repository, especially their use of config.path, pygit2, and git. Compare behavior when the repository is not beside the content, then establish whether a repo_path option or a shared repository-discovery approach is intended; done means both features work with a separately located repository.

Written by the indexing model from the issue text.

Description

Both of the mentioned features assume that the repository exists in the same directory as the content, which may not be the case.

They both currently appear to be using different modules (pygit2 for test & git for release_notes) so the solution can't quite be a one size fits all approach today.

There should either be a repo_path config option, or both features aligned to use the same module such as pygit2, where something like the following could be used:

repo_path = pygit2.discover_repository(self.config.path)
repo = pygit2.Repository(path=str(repo_path))
Dominant language
Python
Stars
139
Forks
51
Avg merge
1h 16m
Merged PRs (30d)
3

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

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 splunk/contentctl

All issues in splunk/contentctl

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.