Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 0.8.0
    • Component/s: build
    • Labels:
      None

      Description

      The current way of publishing our website annoyed me to a pointe where I had to do something about it.

        Activity

        Hide
        rvs Roman Shaposhnik added a comment -

        Attached patch enables maven-scm-publish-plugin to directly commit to svnpubsub staging repository. From now on, the workflow of publishing a website will consist of only two steps:

        1. mvn site-deploy
        2. push the staging to prod via https://cms.apache.org/bigtop/publish

        This makes our git repo a single source of truth for our website and lets us completely discontinue the site maintenance in SVN.

        Show
        rvs Roman Shaposhnik added a comment - Attached patch enables maven-scm-publish-plugin to directly commit to svnpubsub staging repository. From now on, the workflow of publishing a website will consist of only two steps: mvn site-deploy push the staging to prod via https://cms.apache.org/bigtop/publish This makes our git repo a single source of truth for our website and lets us completely discontinue the site maintenance in SVN.
        Hide
        jayunit100 jay vyas added a comment -

        Nice one. We need to overhaul this site soon and make it prettier.

        Do you need us to review it.... Or shall we just push it in?
        If you did need a review, how would we test this patch?

        Show
        jayunit100 jay vyas added a comment - Nice one. We need to overhaul this site soon and make it prettier. Do you need us to review it.... Or shall we just push it in? If you did need a review, how would we test this patch?
        Hide
        rvs Roman Shaposhnik added a comment -

        Testing should be pretty easy: just run mvn site-deploy and see if that gets deployed to our staging area. And yes, I'd appreciate review.

        Show
        rvs Roman Shaposhnik added a comment - Testing should be pretty easy: just run mvn site-deploy and see if that gets deployed to our staging area. And yes, I'd appreciate review.
        Hide
        jayunit100 jay vyas added a comment -

        +1 to commit... thanks. it works ! Just a note on how I tested this:

        1) Added my apache svn credentials to M2_HOME/settings.xml

        2) Ran mvn site:site , and then changed one of the words in target/,,,,/irc-channel.html

        3) After running your

         mvn site-deploy 

        command, I saw the change pushed up to here
        https://svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content/irc-channel.html

        4) So now, I guess the last step would be to publish via https://cms.apache.org/bigtop/publish (which i did not do).

        But I guess its pretty clear that your change works.

        This is cool !
        Now maybe we can improve and iterate on the bigtop site and make it look a little better.

        Show
        jayunit100 jay vyas added a comment - +1 to commit... thanks. it works ! Just a note on how I tested this: 1) Added my apache svn credentials to M2_HOME/settings.xml 2) Ran mvn site:site , and then changed one of the words in target/,,,,/irc-channel.html 3) After running your mvn site-deploy command, I saw the change pushed up to here https://svn.apache.org/repos/infra/websites/staging/bigtop/trunk/content/irc-channel.html 4) So now, I guess the last step would be to publish via https://cms.apache.org/bigtop/publish (which i did not do). But I guess its pretty clear that your change works. This is cool ! Now maybe we can improve and iterate on the bigtop site and make it look a little better.
        Hide
        rvs Roman Shaposhnik added a comment -

        Thanks! And pushed!

        Show
        rvs Roman Shaposhnik added a comment - Thanks! And pushed!

          People

          • Assignee:
            rvs Roman Shaposhnik
            Reporter:
            rvs Roman Shaposhnik
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development