Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-build-utils
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
Roman Alifanov
etersoft-build-utils
Commits
f8fc0deb
Commit
f8fc0deb
authored
Feb 06, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmgp: fix HTML parsing for mirrors with absolute hrefs, add rosa13
parent
6c7fc452
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
rpmgp
bin/rpmgp
+2
-2
srpms
etc/repos/srpms
+4
-5
No files found.
bin/rpmgp
View file @
f8fc0deb
...
...
@@ -46,7 +46,7 @@ list_systems()
html_filter
()
{
grep
"src.rpm"
|
sed
-e
"s|.*href=
\"
||g"
|
sed
-e
"s|
\"
.*||g"
|
grep
"rpm$"
grep
"src.rpm"
|
sed
-e
"s|.*href=
\"
||g"
|
sed
-e
"s|
\"
.*||g"
|
sed
-e
"s|.*/||g"
|
grep
"rpm$"
}
list_filter
()
...
...
@@ -97,7 +97,7 @@ get_list()
fi
rm
-f
$LIST
.ok
# check if there is letter subdirs (Fedora)
for
i
in
$(
cat
$LIST
.tmp |
sed
-e
"s|<a href=
\"
||g"
-e
"s|/
\"
>.*||g"
)
;
do
for
i
in
$(
grep
-o
'href="[^"]*/"'
$LIST
.tmp |
sed
-e
's|href="||'
-e
's|"$||'
-e
's|.*/\([^/]*\)/$|\1|'
|
grep
.
)
;
do
rhas
"
$i
"
rpm
&&
break
# ignore more than one letter
[
-n
"
$(
echo
$i
|
cut
-c2-
)
"
]
&&
continue
...
...
etc/repos/srpms
View file @
f8fc0deb
...
...
@@ -17,11 +17,10 @@ fedora-ccrma http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planet
#rosa2012 ftp://mirror.yandex.ru/rosa/rosa2012lts/repository/SRPMS/main/release
#rosa2012u ftp://mirror.yandex.ru/rosa/rosa2012lts/repository/SRPMS/main/updates
#rosa2012c ftp://mirror.yandex.ru/rosa/rosa2012lts/repository/SRPMS/contrib/release
rosa2014 http://mirror.yandex.ru/rosa/rosa2014.1/repository/SRPMS/main/release
rosa2014u http://mirror.yandex.ru/rosa/rosa2014.1/repository/SRPMS/main/updates
rosa2014c http://mirror.yandex.ru/rosa/rosa2014.1/repository/SRPMS/contrib/release
rosa2014f http://mirror.yandex.ru/rosa/rosa2014.1/repository/SRPMS/main/non-free
rosa2014r http://mirror.yandex.ru/rosa/rosa2014.1/repository/SRPMS/main/restricted
rosa13 http://mirror.yandex.ru/rosa/rosa13/repository/SRPMS/main/release
rosa13t http://mirror.yandex.ru/rosa/rosa13/repository/SRPMS/main/testing
rosa13c http://mirror.yandex.ru/rosa/rosa13/repository/SRPMS/contrib/release
rosa13nf http://mirror.yandex.ru/rosa/rosa13/repository/SRPMS/non-free/release
rosa2021.1 http://mirror.yandex.ru/rosa/rosa2021.1/repository/SRPMS/main/release
rosa2021.1t http://mirror.yandex.ru/rosa/rosa2021.1/repository/SRPMS/main/testing
rosa2021.1u http://mirror.yandex.ru/rosa/rosa2021.1/repository/SRPMS/main/updates
...
...
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