Prefer SSH ref
This commit is contained in:
parent
bbfa9d3084
commit
d3a5a89c0e
@ -171,6 +171,7 @@ type GitLabRepository struct {
|
|||||||
Path string
|
Path string
|
||||||
PathWithNamespace string `json:"path_with_namespace"`
|
PathWithNamespace string `json:"path_with_namespace"`
|
||||||
DefaultBranch string `json:"default_branch"`
|
DefaultBranch string `json:"default_branch"`
|
||||||
|
SshUrlToRepo string `json:"ssh_url_to_repo"`
|
||||||
HttpUrlToRepo string `json:"http_url_to_repo"`
|
HttpUrlToRepo string `json:"http_url_to_repo"`
|
||||||
AvatarURL string `json:"avatar_url"`
|
AvatarURL string `json:"avatar_url"`
|
||||||
LastActivityAt time.Time `json:"last_activity_at,omitempty"`
|
LastActivityAt time.Time `json:"last_activity_at,omitempty"`
|
||||||
|
@ -89,7 +89,7 @@
|
|||||||
{:then rrepos}
|
{:then rrepos}
|
||||||
<select class="form-select col" disabled={readonly} bind:value={repo_used.uri}>
|
<select class="form-select col" disabled={readonly} bind:value={repo_used.uri}>
|
||||||
{#each rrepos as r (r.Id)}
|
{#each rrepos as r (r.Id)}
|
||||||
<option value={r.http_url_to_repo}>{r.path_with_namespace}</option>
|
<option value={r.ssh_url_to_repo}>{r.path_with_namespace}</option>
|
||||||
{/each}
|
{/each}
|
||||||
</select>
|
</select>
|
||||||
<label>Dépôt GitLab pour ce travail :</label>
|
<label>Dépôt GitLab pour ce travail :</label>
|
||||||
|
@ -144,7 +144,7 @@
|
|||||||
{/await}
|
{/await}
|
||||||
{:else}
|
{:else}
|
||||||
<p>
|
<p>
|
||||||
Pour être reconnu, vous devez pousser un tag <strong><a href="keys">signé</a></strong> sur votre dépôt. {#if w.tag}Le tag attendu doit commencer par : <code>{w.tag}</code>. Par exemple <code>{w.tag}v1.0</code>, <code>{w.tag}v1.1</code>, ...{/if} Seul le dernier tag que vous envoyez avant la date du rendu sera pris en compte. Vous pouvez donc faire autant de tag que vous le souhaitez d'ici la date du rendu. Seul le dernier sera pris en compte.
|
Pour être reconnu, vous devez pousser un tag <strong><a href="keys">signé</a></strong> sur votre dépôt. {#if w.tag}Le tag attendu doit commencer par : <code>{w.tag}</code>. Par exemple <code>{w.tag}v1.0</code>, <code>{w.tag}v1.1</code>, ...{/if} Seul le dernier tag <strong>alphabétique</strong> que vous envoyez avant la date du rendu sera pris en compte. Vous pouvez donc faire autant de tag que vous le souhaitez d'ici la date du rendu.
|
||||||
</p>
|
</p>
|
||||||
{/if}
|
{/if}
|
||||||
{/if}
|
{/if}
|
||||||
|
Reference in New Issue
Block a user