Gitlab: Unterschied zwischen den Versionen

Aus Vosp.info
Wechseln zu:Navigation, Suche
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 19: Zeile 19:
  
 
== Customize ==
 
== Customize ==
=== ===
+
=== Startpage ===
 
  Pfad ab Wurzel:
 
  Pfad ab Wurzel:
 
  /opt/gitlab/embedded/service/gitlab-rails
 
  /opt/gitlab/embedded/service/gitlab-rails
Zeile 32: Zeile 32:
 
             - else
 
             - else
 
               %h3 Open source software to collaborate on code
 
               %h3 Open source software to collaborate on code
 
+
 
               %p
 
               %p
 
                 Manage git repositories with fine grained access controls that keep your code secure.
 
                 Manage git repositories with fine grained access controls that keep your code secure.
 
                 Perform code reviews and enhance collaboration with merge requests.
 
                 Perform code reviews and enhance collaboration with merge requests.
 
                 Each project can also have an issue tracker and a wiki.
 
                 Each project can also have an issue tracker and a wiki.
 +
  
 
  ===> neu
 
  ===> neu
Zeile 45: Zeile 46:
 
             - else
 
             - else
 
               %h3 Open source software to collaborate on code
 
               %h3 Open source software to collaborate on code
 
+
 
               %p
 
               %p
 
                 Übersicht der Repos:
 
                 Übersicht der Repos:
 
                 = link_to "Code", "https://code.netz.coop/explore/projects/starred/"
 
                 = link_to "Code", "https://code.netz.coop/explore/projects/starred/"
 +
 +
 +
=== auf dem Server ===
 +
<source lang="bash">
 +
cd /var/opt/gitlab/
 +
gitlab-rake assets:precompile
 +
gitlab-ctl restart unicorn
 +
gitlab-ctl reconfigure
 +
</source>

Aktuelle Version vom 19. Oktober 2015, 11:07 Uhr

Fehler

fatal: Could not read from remote repository.

fatal: 'xxx.git' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

mehrere Sachen können falsch sein

  • ist der ssh key vom jeweiligen client rechner im webfrontend beim benutzer hoch geladen worden
ssh-keygen -t rsa

hoch geladen werden muss dann der inhalt von ~/.ssh/id_rsa.pub

  • einmal gab es das problem das der inhalt von ~/.ssh/id_rsa.pub, also der schlüssel irgendein sonderzeichen beinhaltete der zum obigen fehler geführt hat, also neuen schlüssel generieren und das ganze noch mal probieren


Customize

Startpage

Pfad ab Wurzel:
/opt/gitlab/embedded/service/gitlab-rails
Pfad ab IDE:
app/views/layouts/devise.html.haml
...
 %h1
             = brand_title
           - if brand_item
             = brand_image
             = brand_text
           - else
             %h3 Open source software to collaborate on code

             %p
               Manage git repositories with fine grained access controls that keep your code secure.
               Perform code reviews and enhance collaboration with merge requests.
               Each project can also have an issue tracker and a wiki.


===> neu
            %h1 netz.coop eG
           - if brand_item
             = brand_image
             = brand_text
           - else
             %h3 Open source software to collaborate on code

             %p
               Übersicht der Repos:
               = link_to "Code", "https://code.netz.coop/explore/projects/starred/"


auf dem Server

 cd /var/opt/gitlab/
gitlab-rake assets:precompile
gitlab-ctl restart unicorn
gitlab-ctl reconfigure