Skip to content

Conversation

@mcalmer
Copy link
Contributor

@mcalmer mcalmer commented Aug 24, 2025

Added scripts which push to git instead of OBS.

All based on the packages created with build-packages-for-obs

$> TEST=1 build-packages-for-obs
$> BRANCH=mybranch push-packages-to-git
$> BRANCH=mybranch push-images-to-git

and a script to mass create git repos

Usage: create-gitea-repos REPONAME [REPONAME...]

Create one or multiple git repos in gitea with the given names provided as
arguments.
You have to specify a "TOKEN" via environment variable to access the gitea API.

Optionally you can provide the following environment valiables:
GIT_ORG: The git organization (Default: Galaxy)
GIT_SRV: The git server (Default: src.suse.de)
GIT_BRANCH: The git default branch which should be initialized (Default: mlm-5.2)

@mcalmer mcalmer force-pushed the submit-to-git branch 2 times, most recently from b4e15a7 to 4e69d0f Compare October 15, 2025 13:38
@mcalmer mcalmer marked this pull request as ready for review October 15, 2025 13:39
@mcalmer mcalmer requested a review from a team as a code owner October 15, 2025 13:39
@mcalmer mcalmer force-pushed the submit-to-git branch 2 times, most recently from fa1962a to 390c712 Compare October 18, 2025 13:29
Copy link
Contributor

@deneb-alpha deneb-alpha left a comment

Choose a reason for hiding this comment

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

the new copyright includes an an contributors.

apart from this, I just left a few minor comments.

@deneb-alpha deneb-alpha requested a review from cbosdo October 20, 2025 09:50
@deneb-alpha
Copy link
Contributor

@cbosdo : I added you as reviewer. not sure if you want to have a look at the changes. I think we are good in this way, but given that you reworked a lot the old scripts, I'm not sure if we are maybe missing something (or other places to fix)

mcalmer and others added 2 commits October 20, 2025 12:44
Co-authored-by: Marina Latini <marina.latini@suse.com>
@mcalmer mcalmer requested a review from deneb-alpha October 20, 2025 11:00
}


function log_and_add_failure() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Would it be worth moving the common functions to a helper script that would be sourced in both files?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, when we have some time for re-org

@mcalmer mcalmer merged commit 8c2712e into main Nov 3, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants