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
a84e6de1
Commit
a84e6de1
authored
Apr 24, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Plain Diff
backported to p8 as 1.7.6-alt0.M80P.1 (with rpmbph script)
parents
039eff96
20fdbf9c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
8 deletions
+15
-8
TODO
TODO
+0
-4
epm-assure
bin/epm-assure
+6
-1
epm-sh-functions
bin/epm-sh-functions
+3
-1
eepm.spec
eepm.spec
+6
-2
No files found.
TODO
View file @
a84e6de1
...
@@ -15,8 +15,6 @@ yum list extras – имена тех пакетов, которые налич
...
@@ -15,8 +15,6 @@ yum list extras – имена тех пакетов, которые налич
--dump-options for write simple bash completition
--dump-options for write simple bash completition
add epm site / epmurl in replace to rpmurl
yum remove $(package-cleanup --orphans
yum remove $(package-cleanup --orphans
https://github.com/biow0lf/prometheus-cli
https://github.com/biow0lf/prometheus-cli
...
@@ -56,6 +54,4 @@ docmdmore
...
@@ -56,6 +54,4 @@ docmdmore
apt-rpm/install
apt-rpm/install
apt-rpm/remove
apt-rpm/remove
при упаковке лучше собирать в один файл.
serv должен уметь показывать порядок загрузки?
serv должен уметь показывать порядок загрузки?
bin/epm-assure
View file @
a84e6de1
...
@@ -108,7 +108,12 @@ __epm_assure()
...
@@ -108,7 +108,12 @@ __epm_assure()
info
"Installing appropriate package for
$CMD
command..."
info
"Installing appropriate package for
$CMD
command..."
__epm_need_update
$PACKAGE
$PACKAGEVERSION
||
return
0
__epm_need_update
$PACKAGE
$PACKAGEVERSION
||
return
0
docmd epm
--auto
install
$PACKAGE
docmd epm
--auto
install
$PACKAGE
||
return
[
-n
"
$PACKAGEVERSION
"
]
||
return
0
# check if we couldn't update and still need update
__epm_need_update
$PACKAGE
$PACKAGEVERSION
&&
return
1
return
0
}
}
...
...
bin/epm-sh-functions
View file @
a84e6de1
...
@@ -336,8 +336,10 @@ assure_exists()
...
@@ -336,8 +336,10 @@ assure_exists()
{
{
load_helper epm-assure
load_helper epm-assure
local
package
=
"
$2
"
local
package
=
"
$2
"
local
textpackage
=
[
-n
"
$package
"
]
||
package
=
"
$(
__get_package_for_command
"
$1
"
)
"
[
-n
"
$package
"
]
||
package
=
"
$(
__get_package_for_command
"
$1
"
)
"
__epm_assure
"
$1
"
$package
||
fatal
"Can't assure in '
$1
' command"
[
-n
"
$3
"
]
&&
textpackage
=
" >=
$3
"
__epm_assure
"
$1
"
$package
$3
||
fatal
"Can't assure in '
$1
' command from
$package$textpackage
package"
}
}
eget
()
eget
()
...
...
eepm.spec
View file @
a84e6de1
# This spec is backported to ALTLinux p8 automatically by rpmbph script from etersoft-build-utils.
# This spec is backported to ALTLinux p8 automatically by rpmbph script from etersoft-build-utils.
#
#
Name: eepm
Name: eepm
Version: 1.7.
5
Version: 1.7.
6
Release: alt0.M80P.1
Release: alt0.M80P.1
Summary: Etersoft EPM package manager
Summary: Etersoft EPM package manager
...
@@ -67,9 +67,13 @@ chmod a+x %buildroot%_datadir/%name/{serv-,epm-}*
...
@@ -67,9 +67,13 @@ chmod a+x %buildroot%_datadir/%name/{serv-,epm-}*
%_sysconfdir/bash_completion.d/cerv
%_sysconfdir/bash_completion.d/cerv
%changelog
%changelog
* Sun Apr 24 2016 Vitaly Lipatov <lav@altlinux.ru> 1.7.
5
-alt0.M80P.1
* Sun Apr 24 2016 Vitaly Lipatov <lav@altlinux.ru> 1.7.
6
-alt0.M80P.1
- backport to ALTLinux p8 (by rpmbph script)
- backport to ALTLinux p8 (by rpmbph script)
* Sun Apr 24 2016 Vitaly Lipatov <lav@altlinux.ru> 1.7.6-alt1
- fix assure_exists
- epm-assure: improve version checking
* Sun Apr 24 2016 Vitaly Lipatov <lav@altlinux.ru> 1.7.5-alt1
* Sun Apr 24 2016 Vitaly Lipatov <lav@altlinux.ru> 1.7.5-alt1
- epm-print: add compare version command
- epm-print: add compare version command
- repofix: fix Sisyphus replace
- repofix: fix Sisyphus replace
...
...
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