Re: How to deploy your project pages through GitLab
Raymond Toy <[email protected]>
| Newsgroups | gmane.lisp.common-lisp-net.devel |
|---|---|
| Message-ID | <CAG14z1G=MTikWfYpD3v4h_4SVOnTvKkJvrB4-nP3NeoxdDsSmw@mail.gmail.com> |
Does there need to be some configuration for rsync? I can rsync from /project/cmucl/downloads, but I cannot do rsync -av rsync://common-lisp.net/var/opt/gitlab/gitlab-rails/shared/pages/cmucl/cmucl-site/public/ html @ERROR: Unknown module 'var' On Tue, Dec 18, 2018 at 2:08 PM Raymond Toy <[email protected]> wrote: > > Thanks. This should work out just fine, but I'll ask Carl since he > mirrors this to cmucl.org. I'll let you know how it goes but I don't > expect any issues. > > > On Tue, Dec 18, 2018 at 2:00 PM Erik Huelsmann > <[email protected]> wrote: > > > > Hi Ray, > > > > I'm thinking we don't store any surprises in /var/opt/gitlab/gitlab-rails/shared/pages, so I could "open up" permissions of that directory. Then you could use rsync to sync /var/opt/gitlab/gitlab-rails/shared/pages/cmucl/cmucl-site/public/. > > > > I've opened up this path: /var/opt/gitlab/gitlab-rails/shared/pages/cmucl/cmucl-site/public > > > > So, you should be able to access it using rsync now. Let me know if you have further questions or issues to get the sync up and running. > > > > Regards, > > > > > > Erik. > > > > On Tue, Dec 18, 2018 at 10:44 PM Raymond Toy <[email protected]> wrote: > >> > >> Friendly ping on what the best way would be to get the html files. > >> It's preferable to be able to use rsync so that we don't needlessly > >> download files that haven't changed. > >> > >> On Sat, Dec 15, 2018 at 11:49 AM Raymond Toy <[email protected]> wrote: > >> > > >> > On Sat, Dec 15, 2018 at 10:49 AM Erik Huelsmann > >> > <[email protected]> wrote: > >> > > > >> > > I've adjusted the Apache config (and moved the /project/cmucl/public_html/downloads directory to /project/cmucl/downloads to test). You can now use the GitLab site deployment through GitLab Pages and expect the directory /project/*/downloads to be mapped into the site at https://common-lisp.net/project/*/downloads. > >> > > >> > I moved public_html out of the way, and everything looks good. > >> > > >> > And even better, I don't have to change any of the existing links from > >> > either the site or the cmucl wiki. Awesome! > >> > > >> > Thank you so much! > >> > > > >> > >> > >> > >> I will > >> > >> have to update the site and all the wiki pages to point to the right > >> > >> place but this should be a very simple search and replace. And let > >> > >> people who mirror the site know what the new path is. > >> > > > >> > > > >> > > There are 2 new paths to be mirrored, (a) with the site; (b) with the downloads: > >> > > > >> > > (a) /var/opt/gitlab/gitlab-rails/shared/pages/cmucl/cmucl-site/public > >> > > (b) /srv/project/cmucl/downloads > >> > > >> > I'm a bit confused on what these two paths mean. Is (a) where the > >> > actual html pages live? Previously, the html pages were stored in > >> > public_html/mirror. (Also, I don't seem to have access to that > >> > directory.) > >> > > >> > And (b) is the path I can use to rsync all the downloads? I'm > >> > guessing the site generator doesn't have access to the downloads path? > >> > > >> > Again, I'm really grateful for you help with this. > >> > > >> > -- > >> > Ray > >> > >> > >> > >> -- > >> Ray > > > > -- > Ray -- Ray