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
Nurlan
eepm
Commits
c7248721
Commit
c7248721
authored
Oct 03, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-changelog: add support for noninstalled packages on ALT
parent
0cc2467e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
epm-changelog
bin/epm-changelog
+12
-6
No files found.
bin/epm-changelog
View file @
c7248721
...
@@ -19,7 +19,14 @@
...
@@ -19,7 +19,14 @@
load_helper epm-query
load_helper epm-query
# TODO: use
__epm_changelog_apt
()
{
local
i
for
i
in
$@
;
do
docmd apt-cache show
$i
|
grep
-A
1000
"^Changelog:"
done
}
__epm_changelog_files
()
__epm_changelog_files
()
{
{
[
-z
"
$*
"
]
&&
return
[
-z
"
$*
"
]
&&
return
...
@@ -29,14 +36,13 @@ __epm_changelog_files()
...
@@ -29,14 +36,13 @@ __epm_changelog_files()
rpm
)
rpm
)
docmd_foreach
"rpm -p --changelog"
$@
| less
docmd_foreach
"rpm -p --changelog"
$@
| less
;;
;;
#
apt-dpkg
)
#
deb
)
#
#
# ;;
# ;;
*
)
*
)
fatal
"Have no suitable command for
$1
"
fatal
"Have no suitable command for
$1
"
;;
;;
esac
esac
}
}
__epm_changelog_local_names
()
__epm_changelog_local_names
()
...
@@ -68,9 +74,9 @@ __epm_changelog_unlocal_names()
...
@@ -68,9 +74,9 @@ __epm_changelog_unlocal_names()
[
-z
"
$*
"
]
&&
return
[
-z
"
$*
"
]
&&
return
case
$PMTYPE
in
case
$PMTYPE
in
#
apt-rpm)
apt-rpm
)
# docmd_foreach "rpm --changelog"
$@ | less
__epm_changelog_apt
$@
| less
#
;;
;;
#apt-dpkg)
#apt-dpkg)
# # FIXME: only first pkg
# # FIXME: only first pkg
# docmd zcat /usr/share/doc/$1/changelog.Debian.gz | less
# docmd zcat /usr/share/doc/$1/changelog.Debian.gz | less
...
...
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