You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Vincent Siveton <vs...@apache.org> on 2009/04/18 15:22:53 UTC
[DISCUSS] Release Process
Hi folks,
We are close to release Shindig 1.0-incubating :)
I documented all the release steps in r766308.
This is a draft and some points can change. Comments welcome!
http://incubator.apache.org/shindig/community/releasing.html (need to sync)
FYI the process is actually between the points 4 and 5. All artifacts
are signed and staged in repository.apache.org:
https://repository.apache.org/content/repositories/shindig-staging-004/org/apache/shindig/
The Java and PHP bin are also there:
https://repository.apache.org/content/repositories/shindig-staging-004/org/apache/shindig/shindig/1.0-incubating/
PHP bin is probably the most sensitive point according our last thread [1].
Do we need to change something in the process for PHP?
If no, I will start a vote soon.
Cheers,
Vincent
[1] http://shindig-dev.markmail.org/message/jix2oi55oyqm7hje
Re: [DISCUSS] Release Process
Posted by Chris Chabot <ch...@google.com>.
On Sun, Apr 19, 2009 at 1:25 PM, Vincent Siveton
<vi...@gmail.com>wrote:
> Hi again,
>
> 2009/4/19 Chris Chabot <ch...@google.com>:
> > Oh on the same note, would it be possible to change the shindig-source to
> > shindig-java-source? Since with php the source is the binary and visa
> versa,
> > having it included in a 'source' release and a 'php' release (with
> different
> > path configurations, so you can't just switch from one to another) seems
> > confusing.
>
> The shindig-source is a zip of the tag, and IMHO it is not really
> useful. If a user wants the full source code of the release, he could
> checkout the tag.
> Also, all java modules have the associated sources.jar so moving
> shindig-source to shindig-java-source will not useful too.
>
> I propose to just remove this assembly.
+1, works for me
Re: [DISCUSS] Release Process
Posted by Vincent Siveton <vi...@gmail.com>.
Hi again,
2009/4/19 Chris Chabot <ch...@google.com>:
> Oh on the same note, would it be possible to change the shindig-source to
> shindig-java-source? Since with php the source is the binary and visa versa,
> having it included in a 'source' release and a 'php' release (with different
> path configurations, so you can't just switch from one to another) seems
> confusing.
The shindig-source is a zip of the tag, and IMHO it is not really
useful. If a user wants the full source code of the release, he could
checkout the tag.
Also, all java modules have the associated sources.jar so moving
shindig-source to shindig-java-source will not useful too.
I propose to just remove this assembly.
Cheers,
Vincent
Re: [DISCUSS] Release Process
Posted by Chris Chabot <ch...@google.com>.
Oh on the same note, would it be possible to change the shindig-source to
shindig-java-source? Since with php the source is the binary and visa versa,
having it included in a 'source' release and a 'php' release (with different
path configurations, so you can't just switch from one to another) seems
confusing.
On Sun, Apr 19, 2009 at 12:24 PM, Chris Chabot <ch...@google.com> wrote:
> It seems the change to the features location (from /shindig/features to
> /shindig/features/src/main/javascript/features) was also applied to the
> 1.0.x branch recently, without updating php's path configuration, which
> means that 'stable' branch has been broken for a while.
>
> I know Paul switched over the trunk a while back, but he also modified
> php's config ... I wasn't aware that someone had done the same to the
> *stable* branch too without making the required modifications or notifying
> me... it's a bit of a shock to find that the *stable* branch that i've been
> pointing everyone too, has been broken for a while.
>
> Fix's been committed to the 1.0.x branch, so I hope you'll be able to
> generate new snapshots so we won't keep propagating broken code.
>
> Oh ps, when talking about PHP there are no 'binaries' nor 'artifacts', or
> even 'source'; With PHP the source is the binary (even with binary op-code
> caching it's still an inherently interpreted language), and artifacts used
> to describe old stuff in Indiana Jones movies :) So the correct terminology
> would be 'the PHP tarbals' or something similar.
>
> On first inspection the generated php archives look good, but I'll do a
> full end to end test to make doubly sure, after the above happened I don't
> feel comfortable making any assumptions (why oh why would people do breaking
> things on stable and fix-only branches ;/)
>
>
> On Sat, Apr 18, 2009 at 11:20 PM, Ian Boston <ie...@tfd.co.uk> wrote:
>
>> Vincent,
>> Thank you for pressing on with this, I have a feeling it would have taken
>> a lot longer without you. AFAICT the process looks Ok, but as you say the
>> PHP bin needs review from Chris.
>> Ian
>>
>>
>> On 18 Apr 2009, at 14:22, Vincent Siveton wrote:
>>
>> Hi folks,
>>>
>>> We are close to release Shindig 1.0-incubating :)
>>> I documented all the release steps in r766308.
>>> This is a draft and some points can change. Comments welcome!
>>> http://incubator.apache.org/shindig/community/releasing.html (need to
>>> sync)
>>>
>>> FYI the process is actually between the points 4 and 5. All artifacts
>>> are signed and staged in repository.apache.org:
>>>
>>> https://repository.apache.org/content/repositories/shindig-staging-004/org/apache/shindig/
>>> The Java and PHP bin are also there:
>>>
>>> https://repository.apache.org/content/repositories/shindig-staging-004/org/apache/shindig/shindig/1.0-incubating/
>>>
>>> PHP bin is probably the most sensitive point according our last thread
>>> [1].
>>> Do we need to change something in the process for PHP?
>>> If no, I will start a vote soon.
>>>
>>> Cheers,
>>>
>>> Vincent
>>>
>>> [1] http://shindig-dev.markmail.org/message/jix2oi55oyqm7hje
>>>
>>
>>
>
Re: [DISCUSS] Release Process
Posted by Vincent Siveton <vi...@gmail.com>.
2009/4/19 Chris Chabot <ch...@google.com>:
> It's also a good lesson for me to make sure I test the stable branch more
> often, I just didn't expect that people would go and do such things and hope
> I'd catch it between the many daily commit messages :)
It is why I proposed earlier in this thread to use Hudson to test the
php code :)
A machine does these things for you and could notify the list!
I hope it is feasible to integrate php to Hudson...
Vincent
Re: [DISCUSS] Release Process
Posted by Chris Chabot <ch...@google.com>.
On Sun, Apr 19, 2009 at 1:23 PM, Vincent Siveton
<vi...@gmail.com>wrote:
> Hi Chris,
>
> 2009/4/19 Chris Chabot <ch...@google.com>:
> > It seems the change to the features location (from /shindig/features to
> > /shindig/features/src/main/javascript/features) was also applied to the
> > 1.0.x branch recently, without updating php's path configuration, which
> > means that 'stable' branch has been broken for a while.
>
> My fault. I did this change before starting the release.
> The main goal is to improve the maintenance when applying future
> patches on both branches.
>
In general, any such changes to the shared files (features/, javascript/,
config/) will affect both languages, so when changing things on the trunk,
a heads-up on the shindig-dev list would be much appreciated.
On a stable release branch, a heads-up *before* making the change seems more
appropriate; We've got ~ 23 large containers using php-shindig which
represents almost 400 mil registered end users and nearly 40% of the shindig
using OpenSocial landscape, so keeping things stable and working on the
stable branch is very high priority for me, as I think it should be for the
project as a whole.
It's also a good lesson for me to make sure I test the stable branch more
often, I just didn't expect that people would go and do such things and hope
I'd catch it between the many daily commit messages :)
-- Chris
Re: [DISCUSS] Release Process
Posted by Simon Lucy <si...@objective2k.com>.
Chris Chabot wrote:
> On Sun, Apr 19, 2009 at 1:23 PM, Vincent Siveton
> <vi...@gmail.com>wrote:
>
>
>> Waiting for your go to restart the release.
>>
>>
>
>
> It seems maven changes the line endings in the source files? That's breaking
> my json/xml/atom output tests (since the output uses windows line endings,
> and the expected is unix style). Is there any way to stop maven from doing
> that? (at least for all *.php files)
>
In the assembly plugin in filesets use the lineEnding element with unix
as the value. Although are you sure its output and not the svn line
endings on checkout?
S
Re: [DISCUSS] Release Process
Posted by Adam Winer <aw...@google.com>.
On Sun, Apr 19, 2009 at 6:54 AM, Vincent Siveton
<vi...@gmail.com> wrote:
> 2009/4/19 Chris Chabot <ch...@google.com>:
>> Hey Vincent,
>>
>> Instead of enjoying the sunny sunday weather, I'm knee deep in trying to get
>> server sided template rendering done in php-shindig, which is being a
>> complete pain in the behind, and instead of spending my weekend on that I'm
>> spending my time testing a release procedure that almost everyone agreed
>> with probably isn't the best solution for php...
>
> Yes surely not the best solution for php but a solution to unify the
> release process for both java and php...
> IIRC the issues were:
> * make-release script doesn't yet sign php tarball to respect ASF rules.
> * how to deploy the php tarbals on r.a.o?
>
> As I already said, the release process doc could be changed to include
> different steps for the php part. It is the main goal of this thread
> :)
>
>> I'm sorry but the amount of time I have left to go and learn maven and
>> hudson configurations is a negative number.
>
> I am willing to help you for the Maven part :)
>
>> Can't you just turn that lineEnding off for me, mail me a simple command or
>> 2 I have to run on the shindig-1.0.x branch to produce the release tarbals
>> so I can quickly test them?
>
> Of course! So I reverted the tag and modified the branch to add your
> requirements. Note that I didn't yet deleted artifacts in r.a.o
>
> cd 1.0.x-incubating
> mvn clean install
> cd assembly
> mvn clean install
>
> To help you, the generated php tarbals are:
> http://people.apache.org/~vsiveton/shindig-php/
>
> HTH
>
> Vincent
>
> PS: a small thought, the idea of one release manager for both java and
> php is maybe not appropriated in our context...
Once we have 1.0 out (and a huge thanks to you for tackling this), we
should all talk about just that question!. I'm fairly certain we
shouldn't be releasing PHP and Java code together.
-- Adam
Re: [DISCUSS] Release Process
Posted by Vincent Siveton <vi...@gmail.com>.
2009/4/19 Chris Chabot <ch...@google.com>:
> Hey Vincent,
>
> Instead of enjoying the sunny sunday weather, I'm knee deep in trying to get
> server sided template rendering done in php-shindig, which is being a
> complete pain in the behind, and instead of spending my weekend on that I'm
> spending my time testing a release procedure that almost everyone agreed
> with probably isn't the best solution for php...
Yes surely not the best solution for php but a solution to unify the
release process for both java and php...
IIRC the issues were:
* make-release script doesn't yet sign php tarball to respect ASF rules.
* how to deploy the php tarbals on r.a.o?
As I already said, the release process doc could be changed to include
different steps for the php part. It is the main goal of this thread
:)
> I'm sorry but the amount of time I have left to go and learn maven and
> hudson configurations is a negative number.
I am willing to help you for the Maven part :)
> Can't you just turn that lineEnding off for me, mail me a simple command or
> 2 I have to run on the shindig-1.0.x branch to produce the release tarbals
> so I can quickly test them?
Of course! So I reverted the tag and modified the branch to add your
requirements. Note that I didn't yet deleted artifacts in r.a.o
cd 1.0.x-incubating
mvn clean install
cd assembly
mvn clean install
To help you, the generated php tarbals are:
http://people.apache.org/~vsiveton/shindig-php/
HTH
Vincent
PS: a small thought, the idea of one release manager for both java and
php is maybe not appropriated in our context...
Re: [DISCUSS] Release Process
Posted by Chris Chabot <ch...@google.com>.
Hey Vincent,
Instead of enjoying the sunny sunday weather, I'm knee deep in trying to get
server sided template rendering done in php-shindig, which is being a
complete pain in the behind, and instead of spending my weekend on that I'm
spending my time testing a release procedure that almost everyone agreed
with probably isn't the best solution for php...
I'm sorry but the amount of time I have left to go and learn maven and
hudson configurations is a negative number.
Can't you just turn that lineEnding off for me, mail me a simple command or
2 I have to run on the shindig-1.0.x branch to produce the release tarbals
so I can quickly test them?
Alternatively you could just strip out the assembly bit, and cd shindig/php,
exec ./make-release.sh and we'd be done too :)
On Sun, Apr 19, 2009 at 2:15 PM, Vincent Siveton
<vi...@gmail.com>wrote:
> 2009/4/19 Chris Chabot <ch...@google.com>:
> > On Sun, Apr 19, 2009 at 1:23 PM, Vincent Siveton
> > <vi...@gmail.com>wrote:
> >
> >>
> >> Waiting for your go to restart the release.
> >>
> >
> >
> > It seems maven changes the line endings in the source files? That's
> breaking
> > my json/xml/atom output tests (since the output uses windows line
> endings,
> > and the expected is unix style). Is there any way to stop maven from
> doing
> > that? (at least for all *.php files)
>
> Actually, the php assembly [1] doesn't specify the line ending or file
> mode. You could add them similar to:
>
> <fileSet>
> ...
> <lineEnding>dos</lineEnding>
> </fileSet>
>
> <fileSet>
> ...
> <lineEnding>unix</lineEnding>
> <fileMode>0755</fileMode>
> </fileSet>
>
> Read [2] for more informations.
>
> Vincent
>
> [1]
> https://svn.apache.org/repos/asf/incubator/shindig/branches/1.0.x-incubating/assembly/src/main/assembly/php.xml
> [1] http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
>
Re: [DISCUSS] Release Process
Posted by Vincent Siveton <vi...@gmail.com>.
2009/4/19 Chris Chabot <ch...@google.com>:
> On Sun, Apr 19, 2009 at 1:23 PM, Vincent Siveton
> <vi...@gmail.com>wrote:
>
>>
>> Waiting for your go to restart the release.
>>
>
>
> It seems maven changes the line endings in the source files? That's breaking
> my json/xml/atom output tests (since the output uses windows line endings,
> and the expected is unix style). Is there any way to stop maven from doing
> that? (at least for all *.php files)
Actually, the php assembly [1] doesn't specify the line ending or file
mode. You could add them similar to:
<fileSet>
...
<lineEnding>dos</lineEnding>
</fileSet>
<fileSet>
...
<lineEnding>unix</lineEnding>
<fileMode>0755</fileMode>
</fileSet>
Read [2] for more informations.
Vincent
[1] https://svn.apache.org/repos/asf/incubator/shindig/branches/1.0.x-incubating/assembly/src/main/assembly/php.xml
[1] http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
Re: [DISCUSS] Release Process
Posted by Chris Chabot <ch...@google.com>.
On Sun, Apr 19, 2009 at 1:23 PM, Vincent Siveton
<vi...@gmail.com>wrote:
>
> Waiting for your go to restart the release.
>
It seems maven changes the line endings in the source files? That's breaking
my json/xml/atom output tests (since the output uses windows line endings,
and the expected is unix style). Is there any way to stop maven from doing
that? (at least for all *.php files)
Re: [DISCUSS] Release Process
Posted by Vincent Siveton <vi...@gmail.com>.
Hi Chris,
2009/4/19 Chris Chabot <ch...@google.com>:
> It seems the change to the features location (from /shindig/features to
> /shindig/features/src/main/javascript/features) was also applied to the
> 1.0.x branch recently, without updating php's path configuration, which
> means that 'stable' branch has been broken for a while.
My fault. I did this change before starting the release.
The main goal is to improve the maintenance when applying future
patches on both branches.
> I know Paul switched over the trunk a while back, but he also modified php's
> config ... I wasn't aware that someone had done the same to the *stable*
> branch too without making the required modifications or notifying me... it's
IMHO reading svn commits should be enough but ok it is time consuming...
To help you:
* we could have this dev convention when modifying shared folders:
ping the dev list.
* Is it possible to include php in Hudson? Also, what about including
the both branches in Hudson?
> a bit of a shock to find that the *stable* branch that i've been pointing
> everyone too, has been broken for a while.
Only for less than a week and no complaints on dev@ :)
> Fix's been committed to the 1.0.x branch, so I hope you'll be able to
> generate new snapshots so we won't keep propagating broken code.
>
> Oh ps, when talking about PHP there are no 'binaries' nor 'artifacts', or
> even 'source'; With PHP the source is the binary (even with binary op-code
> caching it's still an inherently interpreted language), and artifacts used
> to describe old stuff in Indiana Jones movies :) So the correct terminology
> would be 'the PHP tarbals' or something similar.
Thanks for this clarification.
> On first inspection the generated php archives look good, but I'll do a full
> end to end test to make doubly sure, after the above happened I don't feel
> comfortable making any assumptions (why oh why would people do breaking
> things on stable and fix-only branches ;/)
Waiting for your go to restart the release.
Cheers and thanks for the review!
Vincent
Re: [DISCUSS] Release Process
Posted by Chris Chabot <ch...@google.com>.
It seems the change to the features location (from /shindig/features to
/shindig/features/src/main/javascript/features) was also applied to the
1.0.x branch recently, without updating php's path configuration, which
means that 'stable' branch has been broken for a while.
I know Paul switched over the trunk a while back, but he also modified php's
config ... I wasn't aware that someone had done the same to the *stable*
branch too without making the required modifications or notifying me... it's
a bit of a shock to find that the *stable* branch that i've been pointing
everyone too, has been broken for a while.
Fix's been committed to the 1.0.x branch, so I hope you'll be able to
generate new snapshots so we won't keep propagating broken code.
Oh ps, when talking about PHP there are no 'binaries' nor 'artifacts', or
even 'source'; With PHP the source is the binary (even with binary op-code
caching it's still an inherently interpreted language), and artifacts used
to describe old stuff in Indiana Jones movies :) So the correct terminology
would be 'the PHP tarbals' or something similar.
On first inspection the generated php archives look good, but I'll do a full
end to end test to make doubly sure, after the above happened I don't feel
comfortable making any assumptions (why oh why would people do breaking
things on stable and fix-only branches ;/)
On Sat, Apr 18, 2009 at 11:20 PM, Ian Boston <ie...@tfd.co.uk> wrote:
> Vincent,
> Thank you for pressing on with this, I have a feeling it would have taken a
> lot longer without you. AFAICT the process looks Ok, but as you say the PHP
> bin needs review from Chris.
> Ian
>
>
> On 18 Apr 2009, at 14:22, Vincent Siveton wrote:
>
> Hi folks,
>>
>> We are close to release Shindig 1.0-incubating :)
>> I documented all the release steps in r766308.
>> This is a draft and some points can change. Comments welcome!
>> http://incubator.apache.org/shindig/community/releasing.html (need to
>> sync)
>>
>> FYI the process is actually between the points 4 and 5. All artifacts
>> are signed and staged in repository.apache.org:
>>
>> https://repository.apache.org/content/repositories/shindig-staging-004/org/apache/shindig/
>> The Java and PHP bin are also there:
>>
>> https://repository.apache.org/content/repositories/shindig-staging-004/org/apache/shindig/shindig/1.0-incubating/
>>
>> PHP bin is probably the most sensitive point according our last thread
>> [1].
>> Do we need to change something in the process for PHP?
>> If no, I will start a vote soon.
>>
>> Cheers,
>>
>> Vincent
>>
>> [1] http://shindig-dev.markmail.org/message/jix2oi55oyqm7hje
>>
>
>
Re: [DISCUSS] Release Process
Posted by Ian Boston <ie...@tfd.co.uk>.
Vincent,
Thank you for pressing on with this, I have a feeling it would have
taken a lot longer without you. AFAICT the process looks Ok, but as
you say the PHP bin needs review from Chris.
Ian
On 18 Apr 2009, at 14:22, Vincent Siveton wrote:
> Hi folks,
>
> We are close to release Shindig 1.0-incubating :)
> I documented all the release steps in r766308.
> This is a draft and some points can change. Comments welcome!
> http://incubator.apache.org/shindig/community/releasing.html (need
> to sync)
>
> FYI the process is actually between the points 4 and 5. All artifacts
> are signed and staged in repository.apache.org:
> https://repository.apache.org/content/repositories/shindig-staging-004/org/apache/shindig/
> The Java and PHP bin are also there:
> https://repository.apache.org/content/repositories/shindig-staging-004/org/apache/shindig/shindig/1.0-incubating/
>
> PHP bin is probably the most sensitive point according our last
> thread [1].
> Do we need to change something in the process for PHP?
> If no, I will start a vote soon.
>
> Cheers,
>
> Vincent
>
> [1] http://shindig-dev.markmail.org/message/jix2oi55oyqm7hje
Re: [DISCUSS] Release Process
Posted by Kevin Brown <et...@google.com>.
The basic process looks good to me. I'll leave the PHP issues to people who
actually work on the PHP code base, though.
On Sat, Apr 18, 2009 at 6:22 AM, Vincent Siveton <vs...@apache.org>wrote:
> Hi folks,
>
> We are close to release Shindig 1.0-incubating :)
> I documented all the release steps in r766308.
> This is a draft and some points can change. Comments welcome!
> http://incubator.apache.org/shindig/community/releasing.html (need to
> sync)
>
> FYI the process is actually between the points 4 and 5. All artifacts
> are signed and staged in repository.apache.org:
>
> https://repository.apache.org/content/repositories/shindig-staging-004/org/apache/shindig/
> The Java and PHP bin are also there:
>
> https://repository.apache.org/content/repositories/shindig-staging-004/org/apache/shindig/shindig/1.0-incubating/
>
> PHP bin is probably the most sensitive point according our last thread [1].
> Do we need to change something in the process for PHP?
> If no, I will start a vote soon.
>
> Cheers,
>
> Vincent
>
> [1] http://shindig-dev.markmail.org/message/jix2oi55oyqm7hje
>