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
Builder Robot
eepm
Commits
35e1a689
Commit
35e1a689
authored
Dec 07, 2025
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm repo switch: add --help, --list
parent
12ad8ef3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
epm-repofix
bin/epm-repofix
+17
-0
No files found.
bin/epm-repofix
View file @
35e1a689
...
...
@@ -103,9 +103,25 @@ epm_reposwitch()
local
TO
=
"
$1
"
[
-n
"
$TO
"
]
||
fatal
"run repo switch with arg (p9, p10, Sisyphus)"
[
"
$TO
"
=
"sisyphus"
]
&&
TO
=
"Sisyphus"
case
"
$TO
"
in
--help
)
info
"Run with --list to get all possible targets"
return
;;
--list
)
info
"Possible repo switch targets: p8 p9 p10 p11 c8 c9 c10f1 c10f2 Sisyphus"
return
;;
-
*
)
fatal
'Unknown option $TO'
;;
esac
if
[
"
$TO
"
=
"Sisyphus"
]
;
then
__replace_alt_version_in_repo
"
$__alt_branch_reg
/branch/"
"
$TO
/"
else
echo
"
$TO
"
|
grep
-q
-E
"
${
__alt_branch_reg
}
"
||
fatal
'Unsupported target form $TO. Use --list to get all targets.'
__replace_alt_version_in_repo
"Sisyphus/"
"
$TO
/branch/"
__replace_alt_version_in_repo
"
$__alt_branch_reg
/branch/"
"
$TO
/branch/"
fi
...
...
@@ -248,6 +264,7 @@ __epm_repochange_alt()
epm_repochange
()
{
[
"
$1
"
=
"--help"
]
&&
info
"Use --list to get all possible targets"
&&
return
[
"
$1
"
=
"--list"
]
||
epm_repofix
case
$BASEDISTRNAME
in
"alt"
)
...
...
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