How to deploy your project pages through GitLab

Raymond Toy toy.raymond at gmail.com
Wed Dec 19 20:04:52 UTC 2018


That's great!  Everything works. Thanks!

On Wed, Dec 19, 2018 at 11:56 AM Erik Huelsmann
<ehuelsmann at common-lisp.net> wrote:
>
> Hi Ray,
>
> On Wed, Dec 19, 2018 at 7:20 PM Raymond Toy <toy.raymond at gmail.com> wrote:
>>
>> 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'
>
>
> Hmm. It seems I needed to adjust the rsync config. I'm now able to run this command successfully:
>
> $ rsync -av rsync://common-lisp.net/pages/cmucl/cmucl-site/public/ html
>
>
> Does it work for you too?
>
>
> Regards,
>
>
> Erik.
>
>>
>>
>> On Tue, Dec 18, 2018 at 2:08 PM Raymond Toy <toy.raymond at gmail.com> 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
>> > <ehuelsmann at common-lisp.net> 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 <toy.raymond at gmail.com> 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 <toy.raymond at gmail.com> wrote:
>> > >> >
>> > >> > On Sat, Dec 15, 2018 at 10:49 AM Erik Huelsmann
>> > >> > <ehuelsmann at common-lisp.net> 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



-- 
Ray



More information about the clo-devel mailing list