Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix several issues in import_srpm #683

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix several issues in import_srpm #683

wants to merge 3 commits into from

Conversation

ydirson
Copy link
Contributor

@ydirson ydirson commented Mar 7, 2025

No description provided.

ydirson added 2 commits March 7, 2025 16:25
I was regularly losing time debugging this script exploding when just
forgetting to use `-c`.  Switching back to `master` after making changes
and NOT committing them has just NO WAY to ever work.

Signed-off-by: Yann Dirson <[email protected]>
@ydirson ydirson requested review from glehmann and stormi March 7, 2025 15:32
@ydirson ydirson changed the title Fix import_srpm Fix import_srpm by dropping -c Mar 7, 2025
import os
import subprocess

def call_process(args):
Copy link

Choose a reason for hiding this comment

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

call is probably clear enough in that context, and pleasantly shorter

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hm, I'm a bit wary of using generic names, especially when it's so cheap to be more specific

Copy link
Member

@stormi stormi left a comment

Choose a reason for hiding this comment

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

The internal wiki will need updating at the same time as this merge.

When we used `create_rpm_git_repo.py --local`, there may be no remote
to pull from yet.

Should indeed have been part of c2d89af.

Signed-off-by: Yann Dirson <[email protected]>
@ydirson
Copy link
Contributor Author

ydirson commented Mar 18, 2025

Added another small fix still in the "fix import" scope, adjusting PR name to encompass it

@ydirson ydirson changed the title Fix import_srpm by dropping -c Fix several issues in import_srpm Mar 18, 2025
@ydirson ydirson requested review from glehmann and stormi March 18, 2025 10:29
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.

3 participants