Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pmbootstrap
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
postmarketOS
pmbootstrap
Commits
bec2a4b1
Unverified
Commit
bec2a4b1
authored
4 months ago
by
J. Pablo Navarro
Committed by
Caleb Connolly
4 months ago
Browse files
Options
Downloads
Patches
Plain Diff
helpers: git: ignore case in get_upstream_remote()
parent
472726a9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!2494
Checking url.lower() is in line
Pipeline
#210442
failed
4 months ago
Stage: test
Stage: deploy
Stage: integration-test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pmb/helpers/git.py
+1
-1
1 addition, 1 deletion
pmb/helpers/git.py
with
1 addition
and
1 deletion
pmb/helpers/git.py
+
1
−
1
View file @
bec2a4b1
...
...
@@ -116,7 +116,7 @@ def get_upstream_remote(aports: Path) -> str:
urls
=
pmb
.
config
.
git_repos
[
name_repo
]
lines
=
list_remotes
(
aports
)
for
line
in
lines
:
if
any
(
u
in
line
for
u
in
urls
):
if
any
(
u
.
lower
()
in
line
for
u
in
urls
):
return
line
.
split
(
"
\t
"
,
1
)[
0
]
# Fallback to old URLs, in case the migration was not done yet
...
...
This diff is collapsed.
Click to expand it.
Iuri Jikidze
@ijiki16
mentioned in commit
215dfcc6
·
4 months ago
mentioned in commit
215dfcc6
mentioned in commit 215dfcc6637218e73508a46d52bb027324d8ccba
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment