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
korinf
etersoft-build-utils
Commits
5344e29b
Commit
5344e29b
authored
Feb 05, 2010
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rpmbugs: rearrange URLs using, cleanup
parent
01a7deb8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
rpmbugs
bin/rpmbugs
+7
-6
No files found.
bin/rpmbugs
View file @
5344e29b
...
...
@@ -11,11 +11,10 @@
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
load_mod rpm web
which xdg-open 2>/dev/null
>
/dev/null
&&
BROWSER
=
xdg-open
URLSHOWBUG
=
"https://bugzilla.altlinux.org/show_bug.cgi?id=
$1
"
BUGZILLAURL
=
"https://bugzilla.altlinux.org"
PRODUCT
=
Sisyphus
URLBUGLIST
=
"https://bugzilla.altlinux.org/buglist.cgi?product=
$PRODUCT
&component=
$PKGNAME
&component_type=equals&simple=1"
show_bugs
()
...
...
@@ -33,7 +32,8 @@ show_bugs()
show_bugbyid
()
{
# TEXT=1
show_bugs
$URLSHOWBUG
local
URLSHOWBUG
=
"
$BUGZILLAURL
/show_bug.cgi?id=
$1
"
show_bugs
"
$URLSHOWBUG
"
}
...
...
@@ -72,7 +72,7 @@ fi
# if param is number
if
[
-z
`
echo
${
1
}
|
sed
-e
"s/[0-9]*//"
`
]
;
then
show_bugbyid
$1
show_bugbyid
"
$1
"
exit
fi
...
...
@@ -102,7 +102,8 @@ for i in $SPECLIST ; do
#altbug --pkg "$PKGNAME" --subj "$SUMMARY"
show_bugbyid
$ID
else
show_bugs
$URLBUGLIST
|
grep
"@"
local
URLBUGLIST
=
"
$BUGZILLAURL
/buglist.cgi?product=
$PRODUCT
&component=
$PKGNAME
&component_type=equals&simple=1"
show_bugs
"
$URLBUGLIST
"
|
grep
"@"
fi
done
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