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
857498d7
Commit
857498d7
authored
Jun 03, 2009
by
Vitaly Lipatov
Committed by
Vitaly Lipatov
Jul 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
replace git.alt with GIRARHOST
parent
f8086eab
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
ginit
bin/ginit
+2
-2
gpush
bin/gpush
+3
-3
rpmbs
bin/rpmbs
+3
-3
No files found.
bin/ginit
View file @
857498d7
...
...
@@ -6,11 +6,11 @@
#test -n "$SPECNAME" || SPECNAME=$(basename `pwd`).spec
if
[
"
$1
"
=
"-h"
]
;
then
echo
"ginit - initialize repo in
git.alt
for current project"
echo
"ginit - initialize repo in
$GIRARHOST
for current project"
echo
"Use: ginit without parameters"
exit
1
fi
PROJECTNAME
=
$(
basename
`
pwd
`
)
echo
"Create remote
$PROJECTNAME
repo"
ssh
git.alt
git-init-db
$PROJECTNAME
.git
ssh
$GIRARHOST
git-init-db
$PROJECTNAME
.git
bin/gpush
View file @
857498d7
...
...
@@ -6,7 +6,7 @@
#test -n "$SPECNAME" || SPECNAME=$(basename `pwd`).spec
if
[
"
$1
"
=
"-h"
]
;
then
echo
"gpush - publish current project repo to
git.alt
"
echo
"gpush - publish current project repo to
$GIRARHOST
"
echo
"Use: gpush [project name] [target branch]"
exit
1
fi
...
...
@@ -34,8 +34,8 @@ else
TARGETBRANCH
=
fi
git push
$@
git.alt
:packages/
$PROJECTNAME
.git
$TARGETBRANCH
git push
--tags
git.alt
:packages/
$PROJECTNAME
.git
$TARGETBRANCH
git push
$@
$GIRARHOST
:packages/
$PROJECTNAME
.git
$TARGETBRANCH
git push
--tags
$GIRARHOST
:packages/
$PROJECTNAME
.git
$TARGETBRANCH
#> $ git commit -a; A='0.23-alt1'; git tag -s $A; \
#> git tag -s -f -m 'Sisyphus release $A' sisyphus $A
bin/rpmbs
View file @
857498d7
...
...
@@ -152,9 +152,9 @@ if [ -n "$UPLOADNOW" ] && is_gear $SPECDIR ; then
check_gear_and_tag
$ETERBUILDBIN
/gpush
||
fatal
"Git push failed. Possibly you need to run ginit for create remote repo."
TAG
=
$VERSION
-
$RELEASE
ssh
git.alt
task new
ssh
git.alt task add repo
$BASENAME
$TAG
||
ssh git.alt
task
rm
ssh
git.alt
task run
ssh
$GIRARHOST
task new
ssh
$GIRARHOST
task add repo
$BASENAME
$TAG
||
ssh
$GIRARHOST
task
rm
ssh
$GIRARHOST
task run
exit
fi
...
...
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