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

Inverse of Source.translate_url for more user friendly bst source track

Open
#1,967 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
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
tooling

Research direction

Start by reading Source.translate_url and the project.conf alias handling described in the issue, then inspect how the cargo2 plugin currently tracks git dependencies and accesses Source internals. Done means an exposed method accepts an unaliased URL and returns the URL using the most specific configured alias, allowing Cargo.lock tracking without private Source access.

Written by the indexing model from the issue text.

Description

While using the cargo2 plugin to track a git dependency I came across an issue where I had to manually fix the tracked Cargo.lock contents to change the URLs to aliased ones.
IMO having a method that takes an unaliased URL and returns one aliased with the most specific alias from project.conf would be incredibly helpful for implementing something like this as currently it is not possible to implement this without accessing private parts of the Source class from a plugin.

Dominant language
Python
Stars
144
Forks
45
Avg merge
3d 5h
Merged PRs (30d)
6

Contributor guide

Open the contributing guide

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

All issues in apache/buildstream

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.