ouvert_a_tous:dafop_2014:redmine:problemes:synchro_depots

Le problème

Avec le paramétrage par défaut, SCM-MANAGER voulait une authentification pour autoriser un hg pull.

root@badafop2014redmine ~/tempo_hg# cd /srv/repos/hg/build_xml/
root@badafop2014redmine hg/build_xml# hg log

changeset:   1:8b21deb1ddf9
tag:         tip
user:        daniele
date:        Thu Jun 19 22:28:00 2014 +0200
summary:     Ajout du fichier build.xml closes #2

changeset:   0:5b4782aaddd2
user:        daniele
date:        Thu Jun 19 22:27:28 2014 +0200
summary:     Param?trage du depot Mercurial closes #6

root@badafop2014redmine hg/build_xml# hg pull

http authorization required
realm: SONIA :: SCM Manager
user: daniele
password:
pulling from http://192.168.108.111:8080/scm/hg/build_xml
searching for changes
adding changesets
adding manifests
adding file changes
added 10 changesets with 5 changes to 2 files (+1 heads)
(run 'hg heads' to see heads, 'hg merge' to merge)

root@badafop2014redmine hg/build_xml# hg heads

changeset:   11:6bb137890448
tag:         tip
parent:      2:d4117ffd6d0d
parent:      10:abb01d174d87
user:        daniele <daniele.hiot@lycee.jb>
date:        Mon Jun 23 14:13:54 2014 +0000
summary:     Fusion de stable dans default LISEZMOI.txt precise le workflow

changeset:   10:abb01d174d87
branch:      stable
user:        daniele <daniele.hiot@lycee.jb>
date:        Mon Jun 23 14:13:53 2014 +0000
summary:     Added tag V0.1.1 for changeset 40a7ace8e96d

changeset:   8:96e3fe73e45c
branch:      maintenance
user:        daniele <daniele.hiot@lycee.jb>
date:        Mon Jun 23 14:13:53 2014 +0000
summary:     Modification du fichier LISEZMOI.txt dans branche maintenance

changeset:   6:ebd97889959b
branch:      prep-release
parent:      2:d4117ffd6d0d
user:        daniele <daniele.hiot@lycee.jb>
date:        Mon Jun 23 14:13:52 2014 +0000
summary:     ajout branche prep-release

root@badafop2014redmine hg/build_xml#

La solution

Dans SCM-MANAGER, autoriser, dans l'onglet "Permissions", sur le dépôt build_xml un accès en lecture pour l'utilisateur Anonymous.

Le résultat

Remarque : le développeur qui a créé les branches a oublié d'indiquer, dans les commentaires, la demande Redmine à laquelle il répondait.

Ce sera à faire manuellement dans Redmine.

  • ouvert_a_tous/dafop_2014/redmine/problemes/synchro_depots.txt
  • Dernière modification : 2022/12/03 07:45
  • de 127.0.0.1