Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] Writing to my downloads area

Thanks Denis.  I'm all set now but I have further comments below.

Thanks for the recommendation on using my ssh public key; I added mine.

FYI taking my browser to http://download.locationtech.org/spatial4j/ shows PolarSys  :-)   

I figured out the URL I need for my downloads:  http://download.locationtech.org/spatial4j/0_6/?d  (the ?d part is needed to display the directory.

Arguably, '.md' should be displayed as text by the server and not downloaded as a file.

~ David

On Fri, Mar 4, 2016 at 10:11 AM Denis Roy <denis.roy@xxxxxxxxxxx> wrote:
locationtech:/home/httpd/downloads # ls -1p
geobench/
geoff/
geogig/
geojinni/
geomesa/
geoscript/
geotrellis/
index.php
jts/
libspatialindex/
sfcurve/
spatial4j/
udig/

So the full path is:
locationtech:/home/httpd/downloads/spatial4j

Feel free to structure that directory as you please.  To link to files, use:

http://download.locationtech.org/spatial4j/filename

Once we've confirmed that is all working correctly, I'll update the
LocationTech forge docs and announce something on the LT WG mailing list.

Also, if you have and SSH public key, don't hesitate to upload it to
~/.ssh/authorized_keys so you can do all this without having to type
your password all the time.

Denis



On 03/04/2016 10:04 AM, david.w.smiley@xxxxxxxxx wrote:
> It seems I have access to sftp://download.locationtech.org using my
> eclipse credentials, which is good.  Where shall I place my release
> artifacts?  Unlike the Eclipse downloads server, I don't see a symlink
> in my home folder.
>
> On Thu, Mar 3, 2016 at 10:00 AM Denis Roy <denis.roy@xxxxxxxxxxx
> <mailto:denis.roy@xxxxxxxxxxx>> wrote:
>
>
>     On 03/02/2016 01:29 PM, david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx> wrote:
>     > Is there a problem with me directly SCP/SFTP'ing the file into place?
>
>     Not really ... But I'm curious about the workflow.
>
>
>     Hudson artifact -> download from http to local laptop -> sftp to
>     download.locationtech.org <http://download.locationtech.org> ?
>
>
>
>
>     > It wouldn't be automated like your suggested path but then again
>     > releases are infrequent.  And there's some stuff to learn in
>     automating
>     > it... like how might the shell script get a variable referring to the
>     > branch being built.
>
>     I believe the Parameterized Build plugin can be used for that:
>     https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build
>
>     > And then there's moving the former release into the
>     > archive.eclipse.org <http://archive.eclipse.org>
>     <http://archive.eclipse.org> space; easy to do by
>     > hand but not sure about automating.
>
>     You're on LocationTech, so we don't have an archive space. Yet.  But it
>     took about 10 years for Eclipse to grow to a point where one was needed,
>     so let's not worry about that now.
>
>
>
>     > If the Hudson Job were to do it, I assume this might be
>     > possible/recommended to do with an "Execute shell" build step
>     following
>     > the maven invocation?
>
>     That's one way. I believe there are also promotion plugins that can be
>     used, and I'm hoping someone can offer some advice on that.
>
>
>     Denis
>
>
>
>
>     > I'm not keen on embedding such logic into my
>     > Maven pom if I can help it.  If someone has added such a step, can
>     they
>     > share the details with me?
>     >
>     > ~ David
>     >
>     > On Wed, Mar 2, 2016 at 1:14 PM Denis Roy <denis.roy@xxxxxxxxxxx
>     <mailto:denis.roy@xxxxxxxxxxx>
>     > <mailto:denis.roy@xxxxxxxxxxx <mailto:denis.roy@xxxxxxxxxxx>>> wrote:
>     >
>     >     David,
>     >
>     >     Based on https://locationtech.org/wiki/The_Forge#Downloads
>     >
>     >     I think this is our best bet:
>     >
>     >     1. We generate an OpenSSL key pair for the HIPP user your Hudson
>     >     instance is running as.
>     >
>     >     2. We add the HIPP user account to your project group. Hudson
>     becomes an
>     >     "active member" of your project team.
>     >
>     >     3. Configure your build jobs to SCP or SFTP artifacts to your
>     project
>     >     download area.
>     >
>     >     What do you think?
>     >
>     >     Denis
>     >
>     >
>     >     On 29/02/16 09:26 AM, Denis Roy wrote:
>     >     > David,
>     >     >
>     >     > LocationTech is set up a bit differently compared to
>     eclipse.org <http://eclipse.org>
>     >     <http://eclipse.org>.  I
>     >     > think your best bet will be scp/sftp but I think you're the
>     first to
>     >     > actually go through this. Let me check, get the paths straight
>     >     then help
>     >     > you get set up, then we can update the LocationTech Wiki docs.
>     >     >
>     >     > Denis
>     >     >
>     >     >
>     >     > On 02/27/2016 12:39 AM, david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>
>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>> wrote:
>     >     >> Thanks guys; I appreciate your time.  I read
>     >     >> the  https://wiki.eclipse.org/IT_Infrastructure_Doc#Downloads
>     >     info a bit
>     >     >> slower this time and then realized I could connect already over
>     >     SFTP so
>     >     >> I think I'm inclined to go with that given the infrequency
>     of my need
>     >     >> for it.  What's holding me back now is that I see no
>     section where
>     >     >> Spatial4j should live.  I looked in ~/downloads/ and I
>     don't see
>     >     either
>     >     >> "spatial4j" or "locationtech".  I see "technology" but it's
>     contents
>     >     >> don't have spatial4j.  I think the ideal path in here would be
>     >     >> locationtech/technology/spatial4j/.  Can/should I create
>     this or do I
>     >     >> need to ask/coordinate with anyone?
>     >     >>
>     >     >> (CC'ing technology-pmc@xxxxxxxxxxxxxxxx
>     <mailto:technology-pmc@xxxxxxxxxxxxxxxx>
>     >     <mailto:technology-pmc@xxxxxxxxxxxxxxxx
>     <mailto:technology-pmc@xxxxxxxxxxxxxxxx>>
>     >     >> <mailto:technology-pmc@xxxxxxxxxxxxxxxx
>     <mailto:technology-pmc@xxxxxxxxxxxxxxxx>
>     >     <mailto:technology-pmc@xxxxxxxxxxxxxxxx
>     <mailto:technology-pmc@xxxxxxxxxxxxxxxx>>>)
>     >     >>
>     >     >> ~ David
>     >     >>
>     >     >> On Fri, Feb 26, 2016 at 6:10 PM Christoph Daniel Schulze
>     >     >> <cds@xxxxxxxxxxxxxxxxxxxxxx
>     <mailto:cds@xxxxxxxxxxxxxxxxxxxxxx>
>     <mailto:cds@xxxxxxxxxxxxxxxxxxxxxx <mailto:cds@xxxxxxxxxxxxxxxxxxxxxx>>
>     >     <mailto:cds@xxxxxxxxxxxxxxxxxxxxxx
>     <mailto:cds@xxxxxxxxxxxxxxxxxxxxxx>
>     >     <mailto:cds@xxxxxxxxxxxxxxxxxxxxxx
>     <mailto:cds@xxxxxxxxxxxxxxxxxxxxxx>>>> wrote:
>     >     >>
>     >     >>     Hi David,
>     >     >>
>     >     >>     if you're on a HIPP instance, you need to request that
>     it be
>     >     given
>     >     >>     access to the download areas first by filing a bug against
>     >     Eclipse
>     >     >>     Foundation > Community > Servers. Then, as Matthias
>     said, you
>     >     can simply
>     >     >>     use a simple Ant build file or a shell script to copy your
>     >     artifacts to
>     >     >>     the correct folder. Which folder that is exactly can be
>     found
>     >     over here:
>     >     >>
>     >     >>       https://wiki.eclipse.org/Hudson#Server_Storage
>     >     >>
>     >     >>     If you need an example of a simple Ant build file that does
>     >     the job,
>     >     >>     feel free to look at the one we're using at ELK:
>     >     >>
>     >     >>       http://tinyurl.com/hm3tycy
>     >     >>
>     >     >>     The "dir.target" property contains the name of the
>     directory
>     >     to copy the
>     >     >>     artifacts to and is configured in Hudson's
>     corresponding Ant
>     >     build step
>     >     >>     configuration.
>     >     >>
>     >     >>     Hope that helps,
>     >     >>      Christoph Daniel
>     >     >>
>     >     >>     On 26/02/16 23:36, david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>
>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>>
>     >     >>     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>
>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>>> wrote:
>     >     >>     > Ok but precisely what do I do in my build/Job to get
>     my release
>     >     >>     > artifacts (jar files) there?
>     >     >>     >
>     >     >>     > On Fri, Feb 26, 2016 at 5:29 PM Matthias Sohn
>     >     >>     <matthias.sohn@xxxxxxxxx
>     <mailto:matthias.sohn@xxxxxxxxx> <mailto:matthias.sohn@xxxxxxxxx
>     <mailto:matthias.sohn@xxxxxxxxx>>
>     >     <mailto:matthias.sohn@xxxxxxxxx
>     <mailto:matthias.sohn@xxxxxxxxx> <mailto:matthias.sohn@xxxxxxxxx
>     <mailto:matthias.sohn@xxxxxxxxx>>>
>     >     >>     > <mailto:matthias.sohn@xxxxxxxxx
>     <mailto:matthias.sohn@xxxxxxxxx>
>     >     <mailto:matthias.sohn@xxxxxxxxx
>     <mailto:matthias.sohn@xxxxxxxxx>> <mailto:matthias.sohn@xxxxxxxxx
>     <mailto:matthias.sohn@xxxxxxxxx>
>     >     <mailto:matthias.sohn@xxxxxxxxx
>     <mailto:matthias.sohn@xxxxxxxxx>>>>>
>     >     >>     wrote:
>     >     >>     >
>     >     >>     >     On Fri, Feb 26, 2016 at 11:16 PM,
>     >     david.w.smiley@xxxxxxxxx <mailto:david.w.smiley@xxxxxxxxx>
>     <mailto:david.w.smiley@xxxxxxxxx <mailto:david.w.smiley@xxxxxxxxx>>
>     >     >>     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>
>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>>>
>     >     >>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>
>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>>
>     >     >>     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>
>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>>>> <david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>
>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>>
>     >     >>     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>
>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>>>
>     >     >>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>
>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>>
>     >     >>     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>
>     >     <mailto:david.w.smiley@xxxxxxxxx
>     <mailto:david.w.smiley@xxxxxxxxx>>>>> wrote:
>     >     >>     >
>     >     >>     >         Hello,
>     >     >>     >
>     >     >>     >         I'm the project lead of Spatial4j @ LocationTech
>     >     and I'm
>     >     >>     trying
>     >     >>     >         to get my signed 'jar' artifacts where
>     >     LocationTech/Eclipse
>     >     >>     >         officially wants them to be.        This is
>     >     Spatial4j's first
>     >     >>     >         release into LocationTech; I haven't had to
>     do this
>     >     before.
>     >     >>     >          I've got a Job and it has artifacts that are
>     signed by
>     >     >>     >         LocationTech/Eclipse.
>     >     >>     >
>     >     >>     >         I've read some of
>     >     >>     >
>     >     https://wiki.eclipse.org/IT_Infrastructure_Doc#Downloads and
>     >     >>     >         I've also read some of
>     >     https://wiki.eclipse.org/Hudson .
>     >     >>     Should
>     >     >>     >         I bother with getting Hudson to write to the
>     >     downloads area
>     >     >>     >         given I only need to do this on a release (like
>     >     twice a year)?
>     >     >>     >         If so, how?  If I go the SFTP route instead, then
>     >     how do I
>     >     >>     find
>     >     >>     >         out what credentials to get to the downloads area
>     >     for my
>     >     >>     >         project?  Maybe I need to request such an area
>     >     first somehow?
>     >     >>     >
>     >     >>     >         This is separate from maven-central which
>     I've already
>     >     >>     arranged
>     >     >>     >         for thanks to Sonatype's services.
>     >     >>     >
>     >     >>     >         Any help is much appreciated.
>     >     >>     >
>     >     >>     >
>     >     >>     >     download.eclipse.org
>     <http://download.eclipse.org> <http://download.eclipse.org>
>     >     <http://download.eclipse.org>
>     >     >>     <http://download.eclipse.org> is mounted on
>     >     >>     >     HIPPs to
>     >     >>     >     /home/data/httpd/download.eclipse.org
>     <http://download.eclipse.org>
>     >     <http://download.eclipse.org>
>     >     >>     <http://download.eclipse.org> <http://download.eclipse.org>
>     >     >>     >     so I think there's no need to use SFTP
>     >     >>     >
>     >     >>     >     We also write snapshot builds to the download
>     server in
>     >     order to
>     >     >>     >     publish latest dev build.
>     >     >>     >
>     >     >>     >     -Matthias
>     >     >>
>     >
>     >     _______________________________________________
>     >     cbi-dev mailing list
>     >     cbi-dev@xxxxxxxxxxx <mailto:cbi-dev@xxxxxxxxxxx>
>     <mailto:cbi-dev@xxxxxxxxxxx <mailto:cbi-dev@xxxxxxxxxxx>>
>     >     To change your delivery options, retrieve your password, or
>     >     unsubscribe from this list, visit
>     >     https://dev.eclipse.org/mailman/listinfo/cbi-dev
>     >
>     > --
>     > Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker
>     > LinkedIn: http://linkedin.com/in/davidwsmiley |
>     > Book: http://www.solrenterprisesearchserver.com
>     >
>     >
>     > _______________________________________________
>     > cbi-dev mailing list
>     > cbi-dev@xxxxxxxxxxx <mailto:cbi-dev@xxxxxxxxxxx>
>     > To change your delivery options, retrieve your password, or
>     unsubscribe from this list, visit
>     > https://dev.eclipse.org/mailman/listinfo/cbi-dev
>     >
>     _______________________________________________
>     cbi-dev mailing list
>     cbi-dev@xxxxxxxxxxx <mailto:cbi-dev@xxxxxxxxxxx>
>     To change your delivery options, retrieve your password, or
>     unsubscribe from this list, visit
>     https://dev.eclipse.org/mailman/listinfo/cbi-dev
>
> --
> Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker
> LinkedIn: http://linkedin.com/in/davidwsmiley |
> Book: http://www.solrenterprisesearchserver.com
>
>
> _______________________________________________
> cbi-dev mailing list
> cbi-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/cbi-dev
>
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cbi-dev
--
Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker

Back to the top