Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
646b992e
Kaydet (Commit)
646b992e
authored
Mar 26, 2013
tarafından
Bjoern Michaelsen
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add a setup walkthrough to ./logerrit
Change-Id: Id041aa5a8fbb06626b7310aa76471db993b53cf0
üst
7329df74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
logerrit
logerrit
+28
-0
No files found.
logerrit
Dosyayı görüntüle @
646b992e
...
@@ -52,6 +52,7 @@ case "$1" in
...
@@ -52,6 +52,7 @@ case "$1" in
echo
"Usage: ./logerrit subcommand [options]"
echo
"Usage: ./logerrit subcommand [options]"
echo
"simple and basic tool to interact with LibreOffice gerrit"
echo
"simple and basic tool to interact with LibreOffice gerrit"
echo
"subcommands:"
echo
"subcommands:"
echo
" setup walking you though your gerrit setup"
echo
" test test your gerrit setup"
echo
" test test your gerrit setup"
echo
" --- for submitters:"
echo
" --- for submitters:"
echo
" submit [BRANCH] submit your change for review"
echo
" submit [BRANCH] submit your change for review"
...
@@ -70,6 +71,33 @@ case "$1" in
...
@@ -70,6 +71,33 @@ case "$1" in
echo
"http://wiki.documentfoundation.org/Development/GitReview"
echo
"http://wiki.documentfoundation.org/Development/GitReview"
exit
exit
;;
;;
setup
)
echo
"Please go to https://gerrit.libreoffice.org/ and:"
echo
"- press the 'sign-in' button in the top right corner"
echo
"- after login set yourself a username (its recommended to use your IRC-nick)"
echo
"- upload your public ssh-key."
echo
echo
"Note that you need to register additional email addresses, if you want to"
echo
"commit from them. Additional emails must be confirmed with repling to the"
echo
"invitation mail it sends you. Which user name did you choose? Sweetshark"
echo
read
-p
'Which user name did you choose? '
GERRITUSER
echo
echo
"Please now add the following to your ~/.ssh/config, creating the file if needed:"
echo
echo
"Host logerrit"
echo
" IdentityFile ~/.ssh/id_rsa"
echo
" User
$GERRIUSER
"
echo
" Port 29418"
echo
" HostName gerrit.libreoffice.org"
echo
"Host gerrit.libreoffice.org"
echo
" IdentityFile ~/.ssh/id_rsa"
echo
" User
$GERRIUSER
"
echo
" Port 29418"
echo
" HostName gerrit.libreoffice.org"
echo
echo
"To see if your setup was successful, run './logerrit test' then."
;;
test
)
test
)
if
test
-n
"
`
ssh
$GERRITHOST
2>&1|grep
\"
Welcome to Gerrit Code Review
\"
`
"
if
test
-n
"
`
ssh
$GERRITHOST
2>&1|grep
\"
Welcome to Gerrit Code Review
\"
`
"
then
then
...
...
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