Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
2b17c91b
Commit
2b17c91b
authored
Aug 07, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-repofix: fix for Sisyphus
parent
19355798
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
epm-repofix
bin/epm-repofix
+13
-4
No files found.
bin/epm-repofix
View file @
2b17c91b
...
@@ -52,6 +52,9 @@ __repofix_filter_vendor()
...
@@ -52,6 +52,9 @@ __repofix_filter_vendor()
c9
)
c9
)
br
=
"cert9"
br
=
"cert9"
;;
;;
Sisyphus
)
br
=
"alt"
;;
esac
esac
echo
"
$br
"
echo
"
$br
"
}
}
...
@@ -97,10 +100,16 @@ epm_reposwitch()
...
@@ -97,10 +100,16 @@ epm_reposwitch()
{
{
local
TO
=
"
$1
"
local
TO
=
"
$1
"
[
-n
"
$TO
"
]
||
fatal
"run repo switch with arg (p9, p10, Sisyphus)"
[
-n
"
$TO
"
]
||
fatal
"run repo switch with arg (p9, p10, Sisyphus)"
__replace_alt_version_in_repo
"Sisyphus/"
"
$TO
/branch/"
[
"
$TO
"
=
"sisyphus"
]
&&
TO
=
"Sisyphus"
__replace_alt_version_in_repo
"[tpc][5-9]
\.
?[0-9]?/branch/"
"
$TO
/branch/"
if
[
"
$TO
"
=
"Sisyphus"
]
;
then
if
[
"
$TO
"
!=
"p10"
]
;
then
__replace_alt_version_in_repo
"[tpc][5-9]
\.
?[0-9]?/branch/"
"
$TO
/"
__replace_alt_version_in_repo
"p10
\.
?[0-9]?/branch/"
"
$TO
/branch/"
__replace_alt_version_in_repo
"p10
\.
?[0-9]?/branch/"
"
$TO
/"
else
__replace_alt_version_in_repo
"Sisyphus/"
"
$TO
/branch/"
__replace_alt_version_in_repo
"[tpc][5-9]
\.
?[0-9]?/branch/"
"
$TO
/branch/"
if
[
"
$TO
"
!=
"p10"
]
;
then
__replace_alt_version_in_repo
"p10
\.
?[0-9]?/branch/"
"
$TO
/branch/"
fi
fi
fi
__alt_repofix
"
$TO
"
__alt_repofix
"
$TO
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment