Skip to content

Conversation

@rsd76
Copy link
Contributor

@rsd76 rsd76 commented Oct 28, 2025

This bridge will check if an Alpine package is update. Specify: branch, repository, architecture and package.
It will only specify the new version.

@github-actions
Copy link

github-actions bot commented Oct 28, 2025

Pull request artifacts

Bridge Context Status
AlpinePackages 1 untitled (pr) ✔️

last change: Sunday 2026-01-25 10:54:12

@Mynacol Mynacol added the Bridge-Request Request for a new bridge label Oct 31, 2025
@rsd76
Copy link
Contributor Author

rsd76 commented Jan 15, 2026

With my other pull request, I see that I will want to make some changes here also.

Copy link
Contributor

@Mynacol Mynacol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This bridge is rather simple and self-explanatory. I still couldn't test locally (urlencode).

@rsd76
Copy link
Contributor Author

rsd76 commented Jan 25, 2026

Made a lot of changes. probably requires a re-review. Any comment is welcome.

Copy link
Contributor

@Mynacol Mynacol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey, thanks for the overhaul. I only have remaining minor points.

'name' => 'Package Name',
'required' => true,
'exampleValue' => 'curl',
'title' => 'Name of the package. Use * and ? as wildcards. Example: curl, curl-* or curl-???'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use a consistent package for all three examples you give? E.g.

Suggested change
'title' => 'Name of the package. Use * and ? as wildcards. Example: curl, curl-* or curl-???'
'title' => 'Name of the package. Use * and ? as wildcards. Example: curl-dev, curl-* or curl-???'

'name' => 'Package branch',
'required' => true,
'exampleValue' => 'v3.23',
'title' => 'Name of the branch. Like: edge, v3.23, v3.22, etc.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
'title' => 'Name of the branch. Like: edge, v3.23, v3.22, etc.'
'title' => 'Name of the branch. For example: edge, v3.23, v3.22, etc.'

'Testing' => 'testing'
],
'defaultValue' => 'all',
'title' => 'Name of the repository.'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd delete that if it doesn't add any detail to the name above.

}
}

public function getName()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The output is quite a mouthful. Can we develop a more compact representation for the feed name?
E.g. curl (branch edge, repo main, arch x86_64) - Alpine packages.
Also, we might skip a part if it is empty or "all."

}
if ($repositoryName) {
$repositoryName = strtolower($repositoryName);
if ($repositoryName === 'all') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This handles "all" different from an empty specification. Please handle them the same (as in getUri below).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bridge-Request Request for a new bridge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants