You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by Lukasz Lenart <lu...@apache.org> on 2013/01/17 08:08:49 UTC

Re: Apache CMS / svnpubsub

The site was migrated to SvnSubPub but doesn't look good right now :P

http://struts.staging.apache.org/


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2012/12/16 Rene Gielen <rg...@apache.org>:
>
> Am 16.12.12 14:21, schrieb Christian Grobmeier:
>> On Sun, Dec 16, 2012 at 12:41 PM, Rene Gielen <rg...@apache.org> wrote:
>> [...]
>>> If I understand this right, we have two options to deal with our "main
>>> site", which is basically everything on s.a.o excluding the confluence
>>> exports:
>>> - move to CMS
>>> - maintain via svnpubsub
>>> The latter one, if I get this right, is basically the same as we had
>>> before with a changed transport - so instead of pushing the actual built
>>> HTML with ssh, we'd rather generate them into a svn-checkout and commit
>>> them.
>>
>> Thats also my understanding.
>>
>>> A CMS, on the other hand, is a ... CMS :) Sounds like live editing and
>>> such stuff. Do you have experience with the workflow improvements to
>>> expect, over using snvpubsub?
>>
>> The CMS is a bit ugly (forgive me cms devs, if you read that) but
>> works very well. As website maintainer, you would create a "working
>> space", do your changes and publish it. As it works on the back of svn
>> its like a svn creating a branch, changing and committing your text
>> and finally merging into trunk. It makes maintaining the website
>> pretty easy.
>>
>
> I just found the video tutorial, which gives a really good impression on
> how to enjoy the easy workflow bits
> http://s.apache.org/cms-tutorial
>
>> For example, you could look at the main Apache site.
>> https://cms.apache.org/www/wc/browse/grobmeier-rtuhJr/trunk/content/dev/cms.mdtext
>> Its written with Markdown. It easy to edit with the Chrome extension
>> (don't know currently where to download).
>>
>
> Markdown is a really nice option. Even though the site-plugin setup we
> use keeps away some boilerplate stuff, it's still HTML hacking we do in
> the source code files. MD is more concise and gives you room for
> consistent editing and styling as a separated concern, much like our
> confluence wiki.
>
> BUT - as I see it now, we would have to convert our whole site to MD
> right from the start if we wanted to use the CMS workflow now. Besides
> that others may have different opinions on MD driven websites, I don't
> see that we will be able to accomplish such a migration in time.
>
>> Ivan from the log4php team has made some Twig based templates for
>> Logging. Its now used on the mainsite logging.apache.org.
>> http://svn.apache.org/repos/asf/logging/site/cms/trunk/
>>
>> The content is maintained via the CMS. So you see, its possible to
>> make some kind of good design with it.
>> Here is another good link:
>> http://wiki.apache.org/logging/BuildingTheWebSite
>> for running the website locally (if you want some more geek stuff its
>> not necesary)#
>>
>
> What I really don't like about the local setup is that it requires Perl
> - we require Java and Maven so far, and I'd prefer that this stays to be
> the case. But given that you don't have to build the full site locally
> any more, one could argue that this downside is bearable.
>
>> That said, its kind of work to move it out from mvn to the CMS.
>>
>> My suggestion: move what we have now with the build we use now. Then
>> we can decide if walk the next step and use the CMS for our content.
>>
>
> +1 here - sounds like it would be the easiest possible migration to the
> maintained infrastructure for now, and we could keep the invested work
> in the Fluido based new site layout for launching a modernized Struts
> project site any time soon. Afterwards we might find the time and
> passion to move to a CMS based setu.
>
> - René
>
> --
> René Gielen
> http://twitter.com/rgielen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Christian Grobmeier <gr...@gmail.com>.
Hi,

actually it looks to me as "expected".

I think we can now configure Maven to run with the mainsite, while the
rest needs to be committed manually (using extpath)

Here is some sample configuration of maven:
http://apache.org/dev/cmsadoption.html

Unfortunately I will not find time the next week because i am totally
overloaded with work. After that I can chime in again

Cheers
Christian

On Fri, Jan 18, 2013 at 12:47 AM, Rene Gielen <re...@gmail.com> wrote:
> Did you run some maven build to fill the actual content in the svn space
> to publish?
>
> Someone might correct me if I'm wrong, but would we would need to do now
> is to change site-pom to use maven-scm-publish plugin for distribution
> management and run the site build to publish something - right?
>
> See also
> http://olamy.blogspot.de/2012/09/publishing-maven-site-to-scm-ease.html
>
> - René
>
> Am 17.01.13 08:08, schrieb Lukasz Lenart:
>> The site was migrated to SvnSubPub but doesn't look good right now :P
>>
>> http://struts.staging.apache.org/
>>
>>
>> Regards
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>



-- 
http://www.grobmeier.de
https://www.timeandbill.de

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Lukasz Lenart <lu...@apache.org>.
2013/2/14 Dave Newton <da...@gmail.com>:
> Including the wiki doc links, like the "themes and templates" off the
> "guides" homepate.
>
> http://struts.apache.org/2.x/docs/guides.html
>
> Links to (non-working) themes and templates docs:
>
> http://struts.apache.org/development/2.x/docs/themes-and-templates.html

Resolved


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Lukasz Lenart <lu...@apache.org>.
2013/2/14 Dave Newton <da...@gmail.com>:
> Including the wiki doc links, like the "themes and templates" off the
> "guides" homepate.
>
> http://struts.apache.org/2.x/docs/guides.html
>
> Links to (non-working) themes and templates docs:
>
> http://struts.apache.org/development/2.x/docs/themes-and-templates.html
>
> Removing the "development" chunk actually ends up redirecting back to the
> link w/ "development" in it, so it's probable a chunk of our docs are
> currently broken, although I haven't gone through anything approaching a
> thorough check.

That's the problem of using CMS/SvnPubSub crap :P

When I want to deploy Struts 2 website with mvn clean site
site:stage-deploy scm-publish:publish-scm to [1] all the missing
subdirectories will be removed from Svn [2]. As I'm using a separated
script to import docs from Confluence, it has to be run each time
after regenerating the Struts 2 site. And as I'm committing directly
to *production* all the changes are automatically pushed to the site
:P

So the only option I see is to add my script to mvn site ... lifecycle
to commit also Confluence docs. Or say f..k off to the users and tell
them that they have to download docs from Apache mirrors ;-) (I'm
really tired with all that crap :/)


[1] https://svn.apache.org/repos/infra/websites/production/struts/content/development/2.x/
[2] https://svn.apache.org/repos/infra/websites/production/struts/content/development/2.x/docs


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Dave Newton <da...@gmail.com>.
(I take that back a little--the link target itself is correct, but it
redirects.)


On Wed, Feb 13, 2013 at 8:48 PM, Dave Newton <da...@gmail.com> wrote:

> Including the wiki doc links, like the "themes and templates" off the
> "guides" homepate.
>
> http://struts.apache.org/2.x/docs/guides.html
>
> Links to (non-working) themes and templates docs:
>
> http://struts.apache.org/development/2.x/docs/themes-and-templates.html
>
> Removing the "development" chunk actually ends up redirecting back to the
> link w/ "development" in it, so it's probable a chunk of our docs are
> currently broken, although I haven't gone through anything approaching a
> thorough check.
>
> Dave
>
>
> On Wed, Feb 13, 2013 at 8:45 AM, Lukasz Lenart <lu...@apache.org>wrote:
>
>> 2013/2/13 Lukasz Lenart <lu...@apache.org>:
>> > F..k! Download does not work :/
>> >
>> > http://struts.apache.org/download.cgi#struts238
>>
>> And there are other problems with the links :\
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
>> For additional commands, e-mail: dev-help@struts.apache.org
>>
>>
>
>
> --
> e: davelnewton@gmail.com
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton <https://twitter.com/dave_newton>
> b: Bucky Bits <http://buckybits.blogspot.com/>
> g: davelnewton <https://github.com/davelnewton>
> so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
>
>


-- 
e: davelnewton@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits <http://buckybits.blogspot.com/>
g: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>

Re: Apache CMS / svnpubsub

Posted by Dave Newton <da...@gmail.com>.
Including the wiki doc links, like the "themes and templates" off the
"guides" homepate.

http://struts.apache.org/2.x/docs/guides.html

Links to (non-working) themes and templates docs:

http://struts.apache.org/development/2.x/docs/themes-and-templates.html

Removing the "development" chunk actually ends up redirecting back to the
link w/ "development" in it, so it's probable a chunk of our docs are
currently broken, although I haven't gone through anything approaching a
thorough check.

Dave


On Wed, Feb 13, 2013 at 8:45 AM, Lukasz Lenart <lu...@apache.org>wrote:

> 2013/2/13 Lukasz Lenart <lu...@apache.org>:
> > F..k! Download does not work :/
> >
> > http://struts.apache.org/download.cgi#struts238
>
> And there are other problems with the links :\
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


-- 
e: davelnewton@gmail.com
m: 908-380-8699
s: davelnewton_skype
t: @dave_newton <https://twitter.com/dave_newton>
b: Bucky Bits <http://buckybits.blogspot.com/>
g: davelnewton <https://github.com/davelnewton>
so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>

Re: Apache CMS / svnpubsub

Posted by Lukasz Lenart <lu...@apache.org>.
2013/2/13 Lukasz Lenart <lu...@apache.org>:
> F..k! Download does not work :/
>
> http://struts.apache.org/download.cgi#struts238

And there are other problems with the links :\


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Lukasz Lenart <lu...@apache.org>.
F..k! Download does not work :/

http://struts.apache.org/download.cgi#struts238


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Lukasz Lenart <lu...@apache.org>.
The site is fully migrated to CMS/SvnPubSub, even my script to update
the Draft Docs is working :-)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Lukasz Lenart <lu...@apache.org>.
Uff... finally I've migrated subsites as well

http://people.apache.org/~lukaszlenart/

Please remember that the .htaccess doesn't work correctly here as it
was configured to redirect /2.x into /development/2.x so if you want
to see the subsites you must manually update the link, eg.:

http://people.apache.org/~lukaszlenart/release/2.3.x
http://people.apache.org/~lukaszlenart/development/2.x

I've also prepared a script to automatically update
/development/2.x/docs with the latest version of the docs from
https://cwiki.apache.org/WW/

I'm going commit it and other tools to svn.


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Christian Grobmeier <gr...@gmail.com>.
On Sat, Jan 19, 2013 at 5:00 PM, Rene Gielen <rg...@apache.org> wrote:
> Great job! :)

+1!
Thanks!


> Am 19.01.13 14:24, schrieb Lukasz Lenart:
>> Success!
>> http://struts.staging.apache.org/
>>
>> Subsites left ;-)
>>
>>
>> Regards
>>
>
>
> --
> René Gielen
> http://twitter.com/rgielen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>



--
http://www.grobmeier.de
https://www.timeandbill.de

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Rene Gielen <rg...@apache.org>.
Great job! :)

Am 19.01.13 14:24, schrieb Lukasz Lenart:
> Success!
> http://struts.staging.apache.org/
> 
> Subsites left ;-)
> 
> 
> Regards
> 


-- 
René Gielen
http://twitter.com/rgielen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Lukasz Lenart <lu...@apache.org>.
Success!
http://struts.staging.apache.org/

Subsites left ;-)


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/1/18 Lukasz Lenart <lu...@apache.org>:
> I'm discussing over INFRA list how to solve our problem
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2013/1/18 Lukasz Lenart <lu...@apache.org>:
>> Hope, that's the answer :-)
>>
>> http://maven.apache.org/plugins/maven-scm-publish-plugin/examples/one-module-configuration.html
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>>
>> 2013/1/18 Lukasz Lenart <lu...@apache.org>:
>>> I totally don't understand how does it work, at all :/
>>>
>>> I thought, when I commit something to [1] then this will be reflected
>>> in [2], but there are maven site related files in [1] and in [2] is
>>> something like half of what Maven Site plugin is doing :\
>>>
>>> [1] https://svn.apache.org/repos/asf/struts/site/trunk/content/
>>> [2] https://svn.apache.org/repos/infra/websites/staging/struts/trunk/content/
>>>
>>>
>>> Regards
>>> --
>>> Łukasz
>>> + 48 606 323 122 http://www.lenart.org.pl/



-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Lukasz Lenart <lu...@apache.org>.
I'm discussing over INFRA list how to solve our problem


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/1/18 Lukasz Lenart <lu...@apache.org>:
> Hope, that's the answer :-)
>
> http://maven.apache.org/plugins/maven-scm-publish-plugin/examples/one-module-configuration.html
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2013/1/18 Lukasz Lenart <lu...@apache.org>:
>> I totally don't understand how does it work, at all :/
>>
>> I thought, when I commit something to [1] then this will be reflected
>> in [2], but there are maven site related files in [1] and in [2] is
>> something like half of what Maven Site plugin is doing :\
>>
>> [1] https://svn.apache.org/repos/asf/struts/site/trunk/content/
>> [2] https://svn.apache.org/repos/infra/websites/staging/struts/trunk/content/
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Lukasz Lenart <lu...@apache.org>.
Hope, that's the answer :-)

http://maven.apache.org/plugins/maven-scm-publish-plugin/examples/one-module-configuration.html


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/1/18 Lukasz Lenart <lu...@apache.org>:
> I totally don't understand how does it work, at all :/
>
> I thought, when I commit something to [1] then this will be reflected
> in [2], but there are maven site related files in [1] and in [2] is
> something like half of what Maven Site plugin is doing :\
>
> [1] https://svn.apache.org/repos/asf/struts/site/trunk/content/
> [2] https://svn.apache.org/repos/infra/websites/staging/struts/trunk/content/
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Lukasz Lenart <lu...@apache.org>.
I totally don't understand how does it work, at all :/

I thought, when I commit something to [1] then this will be reflected
in [2], but there are maven site related files in [1] and in [2] is
something like half of what Maven Site plugin is doing :\

[1] https://svn.apache.org/repos/asf/struts/site/trunk/content/
[2] https://svn.apache.org/repos/infra/websites/staging/struts/trunk/content/


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Lukasz Lenart <lu...@apache.org>.
2013/1/18 Rene Gielen <re...@gmail.com>:
> Did you run some maven build to fill the actual content in the svn space
> to publish?

No, I don't know which goal to execute :\

> Someone might correct me if I'm wrong, but would we would need to do now
> is to change site-pom to use maven-scm-publish plugin for distribution
> management and run the site build to publish something - right?

It's already done, but I thought the build will used it to fill the website :/


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Rene Gielen <re...@gmail.com>.
Did you run some maven build to fill the actual content in the svn space
to publish?

Someone might correct me if I'm wrong, but would we would need to do now
is to change site-pom to use maven-scm-publish plugin for distribution
management and run the site build to publish something - right?

See also
http://olamy.blogspot.de/2012/09/publishing-maven-site-to-scm-ease.html

- René

Am 17.01.13 08:08, schrieb Lukasz Lenart:
> The site was migrated to SvnSubPub but doesn't look good right now :P
>
> http://struts.staging.apache.org/
>
>
> Regards


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Re: Apache CMS / svnpubsub

Posted by Rene Gielen <re...@gmail.com>.
Ermhhh ... yes, I think I would share this opinion :)

Actually it looks pretty much like what I expected from my understanding
of the process Joe implied...

Christian?

Have to run, more time this evening
- René

Am 17.01.13 08:08, schrieb Lukasz Lenart:
> The site was migrated to SvnSubPub but doesn't look good right now :P
>
> http://struts.staging.apache.org/
>
>
> Regards


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org