Hi - > On Oct 29, 2020, at 11:05 AM, Dave Fisher <w...@apache.org> wrote: > > Hi Matthias, > > We now have staging at https://openoffice-org.staged.apache.org > <https://openoffice-org.staged.apache.org/> > > It is only some content. In order to make our SSI work I had to add .htaccess > > https://github.com/apache/openoffice-org/blob/main/assets/.htaccess > <https://github.com/apache/openoffice-org/blob/main/assets/.htaccess> > > I’ve added the rewrite logic from the project site/ > > Next topics: > (1) Migrate a directory script > (2) Convert mdtext files scripts > (3) Migrate 100+ directories > > (A) Automation of staging builds
We now have a staging build that is triggered by updates to the main branch. It is in Jenkins. Here is our folder: https://ci-builds.apache.org/job/OpenOffice/ <https://ci-builds.apache.org/job/OpenOffice/> Here is the job: https://ci-builds.apache.org/job/OpenOffice/job/OpenOffice-org-Staging-Site-Build/ <https://ci-builds.apache.org/job/OpenOffice/job/OpenOffice-org-Staging-Site-Build/> > (B) Automation and mechanics for production. > > Regards, > Dave > >> On Oct 29, 2020, at 10:13 AM, Matthias Seidel <matthias.sei...@hamburg.de> >> wrote: >> >> Hi Dave, >> >> Thanks for all the work! Once everything is finished I hope to >> understand it and will try to help. >> >> BTW: Do we plan to have a permanent redirection to https? Infra >> recommends to do it via .htaccess. >> When I worked on the "old" page I invested a lot of time to get rid of >> "mixed content" so the main pages should be alright now. >> The problem was, that the CMS didn't like redirection, so we took that >> out on openoffice.org (still active on o.a.o). >> >> Regards, >> >> Matthias >> >> Am 28.10.20 um 20:50 schrieb Dave Fisher: >>> Breadcrumbs are completed. >>> >>> Templates are refactored to be: >>> >>> (1) brand.gsp to render the branding and search top part of pages. >>> Input is metadata in an md file. >>> type=brand >>> search=search >>> selectedlang=en >>> language=Language >>> name=Apache OpenOffice >>> tagline=The Free and Open Productivity Suite >>> logo=AOO_logos/AOO4_website_logo.png >>> domain=https://www.openoffice.org >>> divid=bannera >>> announce=Apache OpenOffice 4.1.7 released >>> announceurl=https://blogs.apache.org/OOo/entry/announcing-apache-openoffice-4-13 >>> announcetip=Apache OpenOffice 4.1.7 released >>> ~~~~~~ >>> >>> (2) navigator.gsp to render topnav, leftnav, and rightnav >>> Input is a list of markdown lists and the css div class as metadata/ >>> type=navigator >>> divid=topnava >>> ~~~~~~ >>> >>> - [Product][m0] >>> - [Download][m1] >>> - [Support][m2] >>> - [Blog][m3] >>> - [Extend][m4] >>> - [Develop][m5] >>> - [Focus Areas][m6] >>> - [Native Language][m7] >>> >>> >>> [m0]: /product/index.html >>> "Apache OpenOffice product description" >>> [m1]: /download/index.html >>> "Download OpenOffice" >>> [m2]: /support/index.html >>> "Find Support for OpenOffice" >>> [m3]: https://blogs.apache.org/ooo/ >>> "Apache OpenOffice Blog" >>> [m4]: /extensions/index.html >>> "Extensions and Templates for OpenOffice" >>> [m5]: https://openoffice.apache.org/get-involved.html >>> "Get involved in Apache OpenOffice" >>> [m6]: /projects/accepted.html >>> "Apache OpenOffice development focus areas" >>> [m7]: /projects/native-lang.html >>> "Apache OpenOffice in your Native Language" >>> >>> (3) page.gsp to render both markdown and html pages >>> - html_extract.gsp is used to extract head, bodytag and body content >>> from html >>> - breadcrumbs.gsp is used to create the breadcrumbs and a list of each >>> directory on the page path. >>> - ssi_pages.gsp will keep a json of brand and navigator overrides per >>> directory. >>> >>> title=Apache OpenOffice - Privacy >>> notice=http://www.apache.org/licenses/LICENSE-2.0 >>> ~~~~~~ >>> >>> Information about your use of this website is collected using server access >>> logs and a tracking cookie. The collected information consists of the >>> following: >>> >>> 1. The IP address from which you access the website; >>> 1. The type of browser and operating system you use to access our site; >>> 1. The date and time you access our site; >>> 1. The pages you visit; and >>> 1. The addresses of pages from where you followed a link to our site. >>> >>> Part of this information is gathered using a tracking cookie set by the >>> [Google Analytics](https://www.google.com/analytics/) service and handled by >>> Google as described in their [privacy >>> policy](https://www.google.com/privacy.html). >>> See your browser documentation for instructions on how to disable the >>> cookie if you prefer not to share this data with Google. >>> >>> We use the gathered information to help us make our site more useful to >>> visitors and to better understand how and when our site is used. We do not >>> track or collect personally identifiable information or associate gathered >>> data with any personally identifying information from other sources. >>> >>> By using this website, you consent to the collection of this data in the >>> manner and for the purpose described above. >>> >>> The json will be like so: >>> { >>> "/": { >>> "brand":"/brand.html", >>> "topnav":"/topnav.html", >>> } >>> "/sl/": { >>> "brand":"/sl/brand.html", >>> "topnav":"/sl/topnav.html" >>> } >>> "/sk/": { >>> "brand":"/sk/brand.html", >>> "topnav":"/sk/topnav.html" >>> } >>> "/kab/": { >>> "brand":"/kab/brand.html", >>> "topnav":"/kab/topnav.html" >>> } >>> "/pl/why/": { >>> "leftnav":"/pl/why/leftnav.html" >>> } >>> "/pl/product/": { >>> "leftnav":"/pl/product/leftnav.html" >>> } >>> "/pl/": { >>> "brand":"/pl/brand.html", >>> "topnav":"/pl/topnav.html" >>> } >>> "/l10n/": { >>> "topnav":"/l10n/topnav.html", >>> "leftnav":"/l10n/leftnav.html", >>> "rightnav":"/l10n/rightnav.html" >>> } >>> >>> >>> The migration script will only need to modify markdown files. Everything >>> else will be copied as is. >>> >>> Regards, >>> Dave >>> >>>> On Oct 28, 2020, at 3:29 AM, Carl Marcum <cmar...@apache.org> wrote: >>>> >>>> Hi Dave, >>>> >>>> On 10/27/20 11:32 PM, Dave Fisher wrote: >>>>> Hi - >>>>> >>>>> The new repository is https://GitHub.com/Apache/OpenOffice-org >>>>> >>>>> The next steps are to finish the templates. >>>>> >>>>> (Wednesday) >>>>> (1) Breadcrumbs >>>>> (2) Branding/Navigation adjustments per directory >>>>> >>>>> (Thursday) >>>>> (3) Staging / Test server with Infra help >>>>> >>>>> (Friday) >>>>> (4) Directory migration script >>>>> (5) Release for testing >>>>> >>>>> Everyone can test at (5) >>>>> >>>> That's Great ! >>>> >>>> Thanks for the hard work and the update! >>>> >>>> Best regards, >>>> Carl >>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>>> For additional commands, e-mail: dev-h...@openoffice.apache.org >>>> >>> >> >