Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » How to force anonymous access to git repo
How to force anonymous access to git repo [message #1688167] Fri, 20 March 2015 08:58 Go to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

I would like to force HTTP anonymous access to a specific repository or at least to pre-fill the value

Context: I have a side project with some launch configurations (and unfortunately I can't put them in the main github repository for political reasons). So the goal is to clone the repo in read-only and import the project in order to provide those launch configurations by default

Regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Re: How to force anonymous access to git repo [message #1688205 is a reply to message #1688167] Fri, 20 March 2015 10:06 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Am 20.03.2015 um 09:58 schrieb Aurelien Pupier:<br>
<blockquote cite="mid:megnf9$mk0$1@xxxxxxxxe.org" type="cite">Hi,
<br>
<br>
I would like to force HTTP anonymous access to a specific
repository or at least to pre-fill the value
<br>
</blockquote>
You mean you're not happy with this drop-down box?<br>
<br>
<img src="https://www.eclipse.org/forums/index.php?t=getfile&amp;id=21249" alt=""><br>
<br>
Cheers<br>
/Eike<br>
<br>
----<br>
<a class="moz-txt-link-freetext" href="http://www.esc-net.de">http://www.esc-net.de</a><br>
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a><br>
<a class="moz-txt-link-freetext" href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a><br>
<br>
<br>
<br>
<blockquote cite="mid:megnf9$mk0$1@xxxxxxxxe.org" type="cite">
<br>
Context: I have a side project with some launch configurations
(and unfortunately I can't put them in the main github repository
for political reasons). So the goal is to clone the repo in
read-only and import the project in order to provide those launch
configurations by default
<br>
<br>
Regards,
<br>
</blockquote>
<br>
</body>
</html>
  • Attachment: jggacfjh.png
    (Size: 49.54KB, Downloaded 151 times)


Re: How to force anonymous access to git repo [message #1688224 is a reply to message #1688205] Fri, 20 March 2015 10:41 Go to previous messageGo to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Quote:
You mean you're not happy with this drop-down box?


I'm very happy 99% of the time. I just have a specific use case.

Maybe the solution would be to be able to provide default value/value for inherited variables.


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Re: How to force anonymous access to git repo [message #1688240 is a reply to message #1688224] Fri, 20 March 2015 11:04 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 20.03.2015 um 11:41 schrieb Aurelien Pupier:
> Quote:
>> You mean you're not happy with this drop-down box?
>
>
> I'm very happy 99% of the time. I just have a specific use case.
>
> Maybe the solution would be to be able to provide default value/value for inherited variables.
I think it's simpler to not use an InducedChoices annotation then. Have you tried to remove that annotation from your
GitCloneTask and to set the remoteURI attribute to the exact value?

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: How to force anonymous access to git repo [message #1688372 is a reply to message #1688240] Fri, 20 March 2015 15:08 Go to previous message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Thanks it works

Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Previous Topic:Updating to Eclipse Luna SR2 and related questions
Next Topic:JVM selection not working
Goto Forum:
  


Current Time: Fri Apr 26 15:57:06 GMT 2024

Powered by FUDForum. Page generated in 0.04140 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top