Move the repository to monorepo.#2520
Merged
openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom Aug 26, 2025
Merged
Move the repository to monorepo.#2520openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom
openshift-merge-bot[bot] merged 1 commit intocontainers:mainfrom
Conversation
Reviewer's GuideThis PR migrates the repository to a monorepo by updating the README with deprecation warnings and links, marking the Go module as deprecated, and adding a GitHub Actions workflow to auto-close incoming pull requests. Flow diagram for GitHub Action auto-closing PRsflowchart TD
PR[Pull Request Opened on main branch]
Action[GitHub Action: auto-close-prs.yml]
Close[Close PR]
Comment[Comment: 'This repository has been migrated...']
PR --> Action
Action --> Close
Action --> Comment
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey there - I've reviewed your changes - here's some feedback:
Blocking issues:
- An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload. (link)
General comments:
- Replace the non-standard [!WARNING] admonition in the README with a regular markdown blockquote or badge so the warning renders correctly on GitHub.
- Add a go.mod replace directive from github.com/containers/common to go.podman.io/common to ensure existing consumers seamlessly pick up the new monorepo module.
- Test the new auto-close GitHub Actions workflow in a non-critical branch to confirm it only targets PRs against main and doesn’t accidentally close valid migration pull requests.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Replace the non-standard [!WARNING] admonition in the README with a regular markdown blockquote or badge so the warning renders correctly on GitHub.
- Add a go.mod replace directive from github.com/containers/common to go.podman.io/common to ensure existing consumers seamlessly pick up the new monorepo module.
- Test the new auto-close GitHub Actions workflow in a non-critical branch to confirm it only targets PRs against main and doesn’t accidentally close valid migration pull requests.
## Security Issues
### Issue 1
<location> `.github/workflows/auto-close-prs.yml:13` </location>
<issue_to_address>
**security (yaml.github-actions.security.third-party-action-not-pinned-to-commit-sha):** An action sourced from a third-party repository on GitHub is not pinned to a full length commit SHA. Pinning an action to a full length commit SHA is currently the only way to use an action as an immutable release. Pinning to a particular SHA helps mitigate the risk of a bad actor adding a backdoor to the action's repository, as they would need to generate a SHA-1 collision for a valid Git object payload.
*Source: opengrep*
</issue_to_address>Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
mtrmac
reviewed
Aug 25, 2025
This commit: - mentions the monorepo in the README.MD. - deprecates the module in favor of go.podman.io/common. - adds github workflow to auto-close newly created PRs. Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
Member
|
/approve |
Contributor
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jankaluza, Luap99, mheon The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
debarshiray
added a commit
to debarshiray/toolbox
that referenced
this pull request
Mar 2, 2026
The github.com/containers/common project, along with two others, was
merged into a monorepository at github.com/containers/container-libs on
26th August 2025 [1].
[1] containers/common commit fcc14d28ac1185c3
containers/common@fcc14d28ac1185c3
containers/common#2520
https://blog.podman.io/2025/08/upcoming-migration-of-three-containers-repositories-to-monorepo/
containers#1763
debarshiray
added a commit
to debarshiray/toolbox
that referenced
this pull request
Mar 2, 2026
The github.com/containers/common project, along with two others, was
merged into a monorepository at github.com/containers/container-libs on
26th August 2025 [1].
[1] containers/common commit fcc14d28ac1185c3
containers/common@fcc14d28ac1185c3
containers/common#2520
https://blog.podman.io/2025/08/upcoming-migration-of-three-containers-repositories-to-monorepo/
containers#1763
debarshiray
added a commit
to debarshiray/toolbox
that referenced
this pull request
Mar 2, 2026
The github.com/containers/common project, along with two others, was
merged into a monorepository at github.com/containers/container-libs on
26th August 2025 [1].
[1] containers/common commit fcc14d28ac1185c3
containers/common@fcc14d28ac1185c3
containers/common#2520
https://blog.podman.io/2025/08/upcoming-migration-of-three-containers-repositories-to-monorepo/
containers#1763
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit:
Warning
I only need a review. I will merge it myself tomorrow as part of the migration to monorepo.
Summary by Sourcery
Migrate the repository to the new monorepo by updating documentation, marking the module as deprecated, and auto-closing incoming PRs to redirect contributors to the new location.
Enhancements:
CI:
Documentation: