... | @@ -151,6 +151,46 @@ unregistered users. Emails from unregistered users will be moderated by |
... | @@ -151,6 +151,46 @@ unregistered users. Emails from unregistered users will be moderated by |
|
the mailing list owners (they will receive a private email when an email
|
|
the mailing list owners (they will receive a private email when an email
|
|
from an unregistered user arrives).
|
|
from an unregistered user arrives).
|
|
|
|
|
|
|
|
## Creating a project with a github mirror repository
|
|
|
|
|
|
|
|
CERN admin (Javier)
|
|
|
|
|
|
|
|
- Create the project **with the repository flag deactivated**.
|
|
|
|
- Open a support ticket detailing:
|
|
|
|
- The project id
|
|
|
|
- The github repository url
|
|
|
|
|
|
|
|
Splendeo admin (egarcia, fjuan)
|
|
|
|
|
|
|
|
- git clone the repository into the local repository folder
|
|
|
|
- Activate the repository flag for the project, and then go to
|
|
|
|
Settings/Repository and set the following fields:
|
|
|
|
- type of repository: git
|
|
|
|
- Path to Repository field pointing to the final /.git/ folder
|
|
|
|
- Overwrite default settings for checkout url: Yes
|
|
|
|
- Checkout url: the git:// (read-only address) for the repository
|
|
|
|
on github
|
|
|
|
- Render checkout URL as a link: Yes
|
|
|
|
- Display Login: No login or password
|
|
|
|
|
|
|
|
Send the hookup url to the CERN admin. It should look like this:
|
|
|
|
https://www.ohwr.org/github_hook?project_id=ohwr_project_identifier
|
|
|
|
. Note that the `id=` parameter is needed only if the github repository
|
|
|
|
name is different from the Ohwr project identifier.
|
|
|
|
|
|
|
|
CERN admin
|
|
|
|
|
|
|
|
- Send the github hook url to the github admin
|
|
|
|
|
|
|
|
Github repository admin
|
|
|
|
|
|
|
|
- Go to your project's github page, and then to Admin / Service Hooks
|
|
|
|
/ Post-Receive URLs .
|
|
|
|
- Insert **exactly** the url that you have received. It should look
|
|
|
|
like this:
|
|
|
|
https://www.ohwr.org/github_hook?project_id=ohwr_project_identifier
|
|
|
|
. The ?project\_id=... might not appear.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Files
|
|
### Files
|
... | | ... | |