Prefer SSH ref
This commit is contained in:
parent
bbfa9d3084
commit
d3a5a89c0e
@ -171,6 +171,7 @@ type GitLabRepository struct {
|
||||
Path string
|
||||
PathWithNamespace string `json:"path_with_namespace"`
|
||||
DefaultBranch string `json:"default_branch"`
|
||||
SshUrlToRepo string `json:"ssh_url_to_repo"`
|
||||
HttpUrlToRepo string `json:"http_url_to_repo"`
|
||||
AvatarURL string `json:"avatar_url"`
|
||||
LastActivityAt time.Time `json:"last_activity_at,omitempty"`
|
||||
|
@ -89,7 +89,7 @@
|
||||
{:then rrepos}
|
||||
<select class="form-select col" disabled={readonly} bind:value={repo_used.uri}>
|
||||
{#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}
|
||||
</select>
|
||||
<label>Dépôt GitLab pour ce travail :</label>
|
||||
|
@ -144,7 +144,7 @@
|
||||
{/await}
|
||||
{:else}
|
||||
<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>
|
||||
{/if}
|
||||
{/if}
|
||||
|
Reference in New Issue
Block a user