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

Is there a problem with me directly SCP/SFTP'ing the file into place? 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. And then there's moving the former release into the archive.eclipse.org space; easy to do by hand but not sure about automating.

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? 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> wrote:

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?


On 29/02/16 09:26 AM, Denis Roy wrote:
> David,
> LocationTech is set up a bit differently compared to 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 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>)
>> ~ David
>> On Fri, Feb 26, 2016 at 6:10 PM Christoph Daniel Schulze
>> <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> 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>>>
>>Â Â Â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>> <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> is mounted on
>>Â Â Â>Â Â ÂHIPPs to
>>Â Â Â>Â Â Â/home/data/httpd/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
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
Lucene/Solr Search Committer, Consultant, Developer, Author, Speaker
LinkedIn: http://linkedin.com/in/davidwsmiley | Book:Âhttp://www.solrenterprisesearchserver.com