[jbosstools-dev] Anonymous Downloads for Alpha release, JBT, and Stacks
Rob Stryker
rstryker at redhat.com
Fri Feb 6 10:21:24 EST 2015
OK David:
So after discussion with Max, having the stacks.yaml say
requiresCredentials=true when it doesn't, just to work around the
existing workflow, is wrong and we shouldn't do that.
Is there any chance we can get the JDF url on download manager to do the
following?
1) Check if the requested file is set to Anonymous Download
2) If yes,
a) Check if it looks like we're coming from a browser (either by
checking user agent or response flags)
b) if yes, do the website stuff, else
c) just return the file as if it was a normal wget
Basically, what we're requesting is that a wget
http://www.jboss.org/download-manager/jdf/file/jboss-eap-6.4.0.Alpha.zip
just downloads the file if it looks like we're not a browser.
- Rob Stryker
On 02/06/2015 08:40 PM, David Hladky wrote:
> Hi Rob,
>
> using the /jdf links is the right way to do on your side. However I do not understand the requiresCredentials issue is. Is it a problem on your side or does the service return you something unexcpected? If so, have you checked you saved the changes?
>
> David
>
> ----- Original Message -----
> From: "Rob Stryker" <rstryker at redhat.com>
> To: "jbosstools-dev jbosstools-dev" <jbosstools-dev at lists.jboss.org>, "Rafael Benevides" <benevides at redhat.com>, "David Hladky" <dhladky at redhat.com>
> Sent: Friday, 6 February, 2015 1:30:10 PM
> Subject: Anonymous Downloads for Alpha release, JBT, and Stacks
>
> Hey all:
>
> I've made a comment over on https://issues.jboss.org/browse/JBIDE-18709
> investigating the issue of anonymous downloads as it pertains to alpha
> releases, stacks, and JBT as a group.
>
> It'd be good if those addressed directly above (david, rafael) had a
> look just so that everyone's aware of the issues of adding any Alpha
> release to JBoss Stacks.
>
> The tl;dr of it is: if we do add alpha releases to stacks, we must
> still use the jdf URL, and we must still set requiresCredentials=true,
> even though it's not accurate. Otherwise we risk breaking older releases
> of JBT.
>
> Any questions or comments are welcome and encouraged on the jira issue
> directly.
>
> Thanks in advance.
>
> - Rob Stryker
More information about the jbosstools-dev
mailing list