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
375c06f6
Commit
375c06f6
authored
Nov 15, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add -q support to rpmlog and gammit
parent
408fe450
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
gammit
bin/gammit
+11
-3
rpmlog
bin/rpmlog
+1
-1
No files found.
bin/gammit
View file @
375c06f6
#!/bin/sh
# Do gear-commit -a
# 2014, 2017 (c) Etersoft https://etersoft.ru
# Author: Vitaly Lipatov <lav@etersoft.ru>
# Public domain
# load common functions, compatible with local and installed script
.
`
dirname
$0
`
/../share/eterbuild/functions/common
if
[
"
$1
"
=
"-h"
]
||
[
"
$1
"
=
"--help"
]
;
then
echo
"gammit - make commit with description from last changelog entry in spec"
echo
"gammit
[-q] [files]
- make commit with description from last changelog entry in spec"
echo
"Use: gammit"
echo
" -q - skip editor"
exit
0
fi
if
[
"
$1
"
=
"-q"
]
;
then
shift
ARG
=
"
$ARG
--no-edit"
fi
# If no args
if
[
-z
"
$1
"
]
;
then
ARG
=
"
$ARG
-a"
fi
docmd gear-commit
$ARG
$@
docmd gear-commit
$ARG
"
$@
"
bin/rpmlog
View file @
375c06f6
...
...
@@ -148,4 +148,4 @@ fi
add_changelog_helper
"
$CHANGELOG
"
$SPECNAME
||
fatal
"add_changelog failed, do not commit anything"
#git_commit_ignore_nothing $SPECNAME -m "new build $NEWREV (with rpmlog script)"
gammit
--spec
=
$SPECNAME
$SPECNAME
gammit
$QUIET
--spec
=
$SPECNAME
$SPECNAME
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