have I got this straight??

If you have any 'mechanical' forge related issues/suggestions, pop them in here.
Post Reply
philmoz
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Wed Sep 07, 2005 6:45 pm
Contact:

have I got this straight??

Post by philmoz » Thu Sep 29, 2005 10:32 am

when setting up a release (if set up properly), you don't actually have to upload the finished package.. the system can??/will?? generate the compressed package??

Or am I reading the instructions a tad wrong..

If this is right, what about all the files that have been uploaded previously? why are they then not accessible to the system, requiring the upload of individual files for the release... or am I missing something veeeery important?

User avatar
Boomzilla
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 135
Joined: Sat Sep 17, 2005 3:43 am
Location: San Francisco - earthquake ground zero
Contact:

Re: have I got this straight??

Post by Boomzilla » Thu Sep 29, 2005 9:12 pm

The file release system is organized in a hierarchical structure of packages, releases, and files. A package is a folder into which you can publish multiple related releases. A release is a group of one or more files that are published as a unit.

Each release can also have a maturity level attribute to describe its state of maturity. Maturity levels are predefined and include development build, alpha, beta, and general availability.

SourceForge does not generate compressed files for you -- you do that yourself based on the format you want (tar, zip, whatever) and then upload your file into the release within the  package you have already defined. (take a look at the Joomla! projec to see how they do it).

Col
Rich people are eccentric. Poor people are strange. I just aspire to be moderately odd.

philmoz
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Wed Sep 07, 2005 6:45 pm
Contact:

Re: have I got this straight??

Post by philmoz » Thu Sep 29, 2005 9:24 pm

Boomzilla wrote:SourceForge does not generate compressed files for you -- you do that yourself based on the format you want (tar, zip, whatever) and then upload your file into the release within the  package you have already defined.

ok, doesn't produce compressed files, but does produce compressed package containing the files released... yes??

philmoz
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Wed Sep 07, 2005 6:45 pm
Contact:

Re: have I got this straight??

Post by philmoz » Fri Sep 30, 2005 9:33 am

philmoz wrote:ok, doesn't produce compressed files, but does produce compressed package containing the files released... yes??

answer, yes, page 200 of pdf manual...

Boomzilla wrote:The file release system is organized in a hierarchical structure of packages, releases, and files. A package is a folder into which you can publish multiple related releases. A release is a group of one or more files that are published as a unit.

ok, so looking at joomla project, package for all joomla 1.0.x, in which they place all joomla 1.0.x related releases from maintenance releases, to upgrade patches etc.(ok, gotcha)
.... someone has to actually upload the release file, be it a doc, text file, xml, zip, tar,tar.gz, html, php etc.

so, where is the relationship between the source / svn, and the final product.

Which is what I was driving at (poorly) in original post.

Is there a SF-software path that allows release from source, once it is agreed that it is complete, into the pre-prepared package as a release?

that is, project==>source repository==>[color=green]package==>release[/color]==> lots of downloads (ok, I can dream)

If there is, please point me to the manual page...

[edit]
as I currently understand it,  project==>source repository==>some nominated persons computer==|
then  project==>package==>[color=blue]some nominated persons computer==>release[/color]==> lots of downloads
Last edited by philmoz on Fri Sep 30, 2005 10:02 am, edited 1 time in total.

User avatar
Boomzilla
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 135
Joined: Sat Sep 17, 2005 3:43 am
Location: San Francisco - earthquake ground zero
Contact:

Re: have I got this straight??

Post by Boomzilla » Sat Oct 01, 2005 12:45 am

Hmmm - good question. I don't believe that there is the relationship for which you are looking (althout it would be valuable). I believe that the only way you add the files is via the Add files to a release/edit files in a release process (page 203 of the PDF user guide).

I'll ask folks who know more about this than I to post their comments.

Col
Rich people are eccentric. Poor people are strange. I just aspire to be moderately odd.

User avatar
mcjamison
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Mon Sep 19, 2005 4:17 am
Location: Fremont, CA

Re: have I got this straight??

Post by mcjamison » Sat Oct 01, 2005 6:13 am

philmoz wrote:so, where is the relationship between the source / svn, and the final product.

Which is what I was driving at (poorly) in original post.

Is there a SF-software path that allows release from source, once it is agreed that it is complete, into the pre-prepared package as a release?

that is, project==>source repository==>[color=green]package==>release[/color]==> lots of downloads (ok, I can dream)

If there is, please point me to the manual page...

[edit]
as I currently understand it,  project==>source repository==>some nominated persons computer==|
then  project==>package==>[color=blue]some nominated persons computer==>release[/color]==> lots of downloads


Yep, your understanding is correct; there is no built-in mechanism to publish straight from repository to file release.  It's an interesting idea - though it would require a fairly complicated UI (picking  the subset of the repository's files to export, the branch or tag to check out from,  archive file type and name, etc.) and would only be useful for source-only releases. 

Fortunately,  the Soap API  makes this process eminently scriptable.  For our own internal development, we've built it into our own "continuous integration" automated testing setup.  After a snapshot passes our complete battery of tests on a given platform, that build is automatically uploaded to a file release - so we can go to one place on SourceForge to get the very latest builds that have passed tests on each platform. 

Cheers,
  -- Jamie

philmoz
Joomla! Intern
Joomla! Intern
Posts: 58
Joined: Wed Sep 07, 2005 6:45 pm
Contact:

Re: have I got this straight??

Post by philmoz » Sat Oct 01, 2005 6:23 am

thx Col and Jamie.

I won't lose any more sleep trying to find it  :P

now, to get the zipping issue sorted out...

User avatar
micheas
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Sat Sep 03, 2005 10:54 am
Location: San Francisco, CA
Contact:

Re: have I got this straight??

Post by micheas » Sun Oct 02, 2005 12:27 pm

Here is a link that describes how one group releases software with sourceforge.

http://docutils.sourceforge.net/docs/dev/release.html

It may help inspire someone to do this for our souceforge. Or at least gives a methodology for releasing software on sourceforge that seems to work.

User avatar
Boomzilla
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 135
Joined: Sat Sep 17, 2005 3:43 am
Location: San Francisco - earthquake ground zero
Contact:

Re: have I got this straight??

Post by Boomzilla » Sun Oct 02, 2005 4:42 pm

Indeed. There SourceForge has a SOAP API - one could write a small app that allows you to point at one or more files, and have the app grab them, zip them together and put them in the file release system.

If any one is interested in doing this we're planning to run a one-hour webinar in the next couple of weeks about the SOAP API and the programming model behind it. If you are intersted please PM me.

Col
Rich people are eccentric. Poor people are strange. I just aspire to be moderately odd.


Post Reply