jp.kde.org migration to invent.kde.org and new web server / deployment process

Ben Cooksley bcooksley at kde.org
Sat Apr 18 04:23:26 BST 2020


On Sat, Apr 18, 2020 at 1:06 AM Jumpei Ogawa <phanective at gmail.com> wrote:
>
> Hi Ben,

Hi Jumpei,

>
> >> It looks like you have already merged invent-migration branch to the
> >> master branch of cgit.kde.org/websites/jp-kde-org by yourself. Thank
> >> you.
> > Glad to hear it's sorted - i'm afraid I didn't do that merge though.
>
> Oops, I checked again and found Carl seems to merged for us.
> (Thank you, Carl.)
>
> > I will sort out the invent.kde.org side of things today.
>
> Thank you.

Just confirming that i've now opted the repository into Gitlab fully,
with the final repository now being at
https://invent.kde.org/websites/jp-kde-org/

>
> Best regards,
> Jumpei

Cheers,
Ben

>
> On Thu, Apr 16, 2020 at 4:42 AM Ben Cooksley <bcooksley at kde.org> wrote:
> >
> > On Thu, Apr 16, 2020 at 2:10 AM Jumpei Ogawa <phanective at gmail.com> wrote:
> > >
> > > Hi Ben,
> >
> > Hi Jumpei,
> >
> > >
> > > Sorry for the delayed response.
> >
> > No worries.
> >
> > >
> > > > Okay, awesome. Could you please go ahead and merge the
> > > > invent-migration branch into master so we can get that deployed?
> > > > I'll look into getting the migration for websites/jp-kde-org to Gitlab
> > > > underway this evening.
> > >
> > > Oh, sorry, I misunderstood. I thought I only had to push source code
> > > to invent-migration branch.
> > > It looks like you have already merged invent-migration branch to the
> > > master branch of cgit.kde.org/websites/jp-kde-org by yourself. Thank
> > > you.
> >
> > Glad to hear it's sorted - i'm afraid I didn't do that merge though.
> >
> > >
> > > If I understand correctly, I have no tasks to do for now, but let me
> > > know if I misunderstand.
> >
> > I will sort out the invent.kde.org side of things today.
> >
> > >
> > > Best,
> > > Jumpei
> >
> > Cheers,
> > Ben
> >
> > >
> > > On Tue, Apr 14, 2020 at 4:14 PM Ben Cooksley <bcooksley at kde.org> wrote:
> > > >
> > > > On Tue, Apr 14, 2020 at 1:40 AM Jumpei Ogawa <phanective at gmail.com> wrote:
> > > > >
> > > > > Hi Ben,
> > > >
> > > > Hi Jumpei,
> > > >
> > > > >
> > > > > Thanks for processing this.
> > > > >
> > > > > As you may read, I talked with Carl about this on #kde-www of webchat yesterday. Here's what we did and will do:
> > > > >
> > > > > - I pushed the current source code to invent-migration branch of cgit. (So invent-migration branch of cgit is synced to master of gitlab.com/kdecommunity/jp.kde.org and invent.kde.org/jogawa/jp-kde-org)
> > > > > - Carl and you have modified binary-factory-tooling repository so that invent.kde.org/websites/jp-kde-org would be automatically built.
> > > > > - You or Carl will migrate the invent-migration branch on cgit to invent.kde.org for us.
> > > >
> > > > Awesome.
> > > >
> > > > >
> > > > > > In terms of Jekyll functionality, does jp.kde.org use any special
> > > > > > plugins or other modules for it's site?
> > > > >
> > > > > No, jp.kde.org has no Jekyll plugins for now.
> > > > > However, I'm considering to add a plugin to generate sitemap.xml in the future.
> > > >
> > > > Okay, awesome. Could you please go ahead and merge the
> > > > invent-migration branch into master so we can get that deployed?
> > > > I'll look into getting the migration for websites/jp-kde-org to Gitlab
> > > > underway this evening.
> > > >
> > > > >
> > > > > Best Regards,
> > > > > Jumpei
> > > > >
> > > >
> > > > Cheers,
> > > > Ben
> > > >
> > > > >
> > > > > On Mon, Apr 13, 2020 at 4:42 AM Ben Cooksley <bcooksley at kde.org> wrote:
> > > > >>
> > > > >> On Sun, Apr 12, 2020 at 11:52 PM Jumpei Ogawa <phanective at gmail.com> wrote:
> > > > >> >
> > > > >> > Hi Ben,
> > > > >>
> > > > >> Hi Jumpei,
> > > > >>
> > > > >> >
> > > > >> > > > As the next step, I want to migrate jp.kde.org's git repository and the web server it runs.
> > > > >> > >
> > > > >> > > Of course. Currently I believe the repository we deploy is located at
> > > > >> > > https://cgit.kde.org/websites/jp-kde-org?
> > > > >> >
> > > > >> > Thank you.
> > > > >> > Yes, the content of https://cgit.kde.org/websites/jp-kde-org is
> > > > >> > deployed currently.
> > > > >> > This repository on cgit has built files (content generated in Jekyll's
> > > > >> > _sites/ directory), and it is not the source code.
> > > > >>
> > > > >> Ah, I see. Now things make more sense :)
> > > > >>
> > > > >> >
> > > > >> > > > 1. Git repository migration to invent.kde.org
> > > > >> > > >
> > > > >> > > > I want to migrate the Git repo from cgit to GitLab (invent.kde.org).
> > > > >> > > > Here is the repository I migrated: https://invent.kde.org/jogawa/jp-kde-org
> > > > >> > >
> > > > >> > > Has the history of this been recently synced to the above
> > > > >> > > websites/jp-kde-org repository?
> > > > >> >
> > > > >> > No, invent.kde.org/jogawa/jp-kde-org is synced to
> > > > >> > gitlab.com/kdecommunity/jp.kde.org, but it is no longer synced to
> > > > >> > cgit.kde.org/websites/jp-kde-org.
> > > > >> > Source code is in invent.kde.org/jogawa/jp-kde-org and
> > > > >> > gitlab.com/kdecommunity/jp.kde.org. Build output is in
> > > > >> > cgit.kde.org/websites/jp-kde-org now.
> > > > >>
> > > > >> Okay.
> > > > >>
> > > > >> >
> > > > >> > Since jp.kde.org now uses Jekyll, source code and deployed code are
> > > > >> > different and we cannot sync source code repository (invent.kde.org
> > > > >> > and gitlab.com) and deployment repository (cgit.kde.org).
> > > > >> > (Sorry, maybe my explanation was unclear.)
> > > > >> >
> > > > >> > > > I think this repository should be under https://invent.kde.org/websites/.
> > > > >> > > > Can you transfer the repository? I guess I don't have permission to transfer.
> > > > >> > >
> > > > >> > > We can arrange for that to be transferred easily enough yes.
> > > > >> >
> > > > >> > Thank you.
> > > > >> >
> > > > >> > > > Note:
> > > > >> > > > Actually, I had used GitLab.com to store the source code and cgit to deploy the built files because Phabricator-based development was a bit hard for me.
> > > > >> > > > So I imported gitlab.com/kdecommunity/jp.kde.org to invent.kde.org/jogawa/jp-kde-org. cgit.kde.org/websites/jp-kde-org.git can be discarded after the webserver or deployment process migration (if necessary).
> > > > >> > > >
> > > > >> > >
> > > > >> > > As most of our existing systems expect repositories to still exist on
> > > > >> > > the legacy git.kde.org infrastructure, we keep the repositories
> > > > >> > > present there (just read only) and have Gitlab (invent.kde.org) mirror
> > > > >> > > any changes it receives up to git.kde.org.
> > > > >> >
> > > > >> > OK, so cgit.kde.org/websites/jp-kde-org.git will not be deleted, will it?
> > > > >>
> > > > >> Correct. We will need to overwrite it's contents with the new
> > > > >> repository from Gitlab though.
> > > > >>
> > > > >> >
> > > > >> > > > 2. Migration to the new webserver (or changing deployment process)
> > > > >> > > >
> > > > >> > > > Currently, I can deploy the website by pushing to cgit.kde.org/websites/jp-kde-org.git. I wonder if we should migrate to the new web server or change the deployment process.
> > > > >> > >
> > > > >> > > It looks like jp.kde.org is currently using our normal systems and
> > > > >> > > servers for hosting websites?
> > > > >> >
> > > > >> > Maybe yes, but I'm not sure.
> > > > >> > I don't know what normal systems refer to because I'm not familiar
> > > > >> > with KDE's infrastructure so much.
> > > > >> >
> > > > >> > Several months ago, I saw some .gitlab-ci.yml of Jekyll-based
> > > > >> > websites, and according to it, those websites are not deployed by
> > > > >> > pushing to the Git repository on cgit.kde.org, but by a different way.
> > > > >> > (If I remember correctly, they were deployed by rsync.) That's why I
> > > > >> > thought I need to migrate the webserver or change the deployment way.
> > > > >> >
> > > > >> > If we can keep the current way to deploy, invent.kde.org will have the
> > > > >> > source code repository of jp-kde-org, and cgit.kde.org will have the
> > > > >> > repository to store the built files. Their content would be different.
> > > > >> > I wonder if it is acceptable to you.
> > > > >>
> > > > >> Fortunately our new systems are capable of generating Jekyll based
> > > > >> sites from their source code and then deploying that result (using
> > > > >> rsync)
> > > > >> We therefore no longer need the repository that contains the generated
> > > > >> results that is currently at websites/jp-kde-org
> > > > >>
> > > > >> In terms of Jekyll functionality, does jp.kde.org use any special
> > > > >> plugins or other modules for it's site?
> > > > >>
> > > > >> >
> > > > >> > > > I also want to know if .htaccess works on new webserver because we currently use it for the redirection.
> > > > >> > > > (Configuring redirection by another way is still fine for me.)
> > > > >> > >
> > > > >> > > All of our servers use Apache, so .htaccess should continue to
> > > > >> > > function for the forseeable future yes.
> > > > >> >
> > > > >> > OK, then I don't have to rewrite code to redirect.
> > > > >> >
> > > > >> > Thank you,
> > > > >> > Jumpei Ogawa (小川 純平)
> > > > >>
> > > > >> Cheers,
> > > > >> Ben
> > > > >>
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >> > On Sun, Apr 12, 2020 at 7:57 PM Ben Cooksley <bcooksley at kde.org> wrote:
> > > > >> > >
> > > > >> > > On Sun, Apr 12, 2020 at 8:25 PM Jumpei Ogawa <phanective at gmail.com> wrote:
> > > > >> > > >
> > > > >> > > > Hi,
> > > > >> > >
> > > > >> > > Hi Jumpei,
> > > > >> > >
> > > > >> > > >
> > > > >> > > > I'm a contributor to the Japanese community website.
> > > > >> > > >
> > > > >> > > > Recently, we have migrated from Capacity to KDE Jekyll Theme. (Thanks to Carl Schwan for the help!)
> > > > >> > > >
> > > > >> > > > As the next step, I want to migrate jp.kde.org's git repository and the web server it runs.
> > > > >> > >
> > > > >> > > Of course. Currently I believe the repository we deploy is located at
> > > > >> > > https://cgit.kde.org/websites/jp-kde-org?
> > > > >> > >
> > > > >> > > >
> > > > >> > > >
> > > > >> > > > 1. Git repository migration to invent.kde.org
> > > > >> > > >
> > > > >> > > > I want to migrate the Git repo from cgit to GitLab (invent.kde.org).
> > > > >> > > > Here is the repository I migrated: https://invent.kde.org/jogawa/jp-kde-org
> > > > >> > >
> > > > >> > > Has the history of this been recently synced to the above
> > > > >> > > websites/jp-kde-org repository?
> > > > >> > >
> > > > >> > > >
> > > > >> > > > I think this repository should be under https://invent.kde.org/websites/.
> > > > >> > > > Can you transfer the repository? I guess I don't have permission to transfer.
> > > > >> > >
> > > > >> > > We can arrange for that to be transferred easily enough yes.
> > > > >> > >
> > > > >> > > >
> > > > >> > > > Note:
> > > > >> > > > Actually, I had used GitLab.com to store the source code and cgit to deploy the built files because Phabricator-based development was a bit hard for me.
> > > > >> > > > So I imported gitlab.com/kdecommunity/jp.kde.org to invent.kde.org/jogawa/jp-kde-org. cgit.kde.org/websites/jp-kde-org.git can be discarded after the webserver or deployment process migration (if necessary).
> > > > >> > > >
> > > > >> > >
> > > > >> > > As most of our existing systems expect repositories to still exist on
> > > > >> > > the legacy git.kde.org infrastructure, we keep the repositories
> > > > >> > > present there (just read only) and have Gitlab (invent.kde.org) mirror
> > > > >> > > any changes it receives up to git.kde.org.
> > > > >> > >
> > > > >> > > >
> > > > >> > > > 2. Migration to the new webserver (or changing deployment process)
> > > > >> > > >
> > > > >> > > > Currently, I can deploy the website by pushing to cgit.kde.org/websites/jp-kde-org.git. I wonder if we should migrate to the new web server or change the deployment process.
> > > > >> > >
> > > > >> > > It looks like jp.kde.org is currently using our normal systems and
> > > > >> > > servers for hosting websites?
> > > > >> > >
> > > > >> > > >
> > > > >> > > > If we should, can you tell me how to migrate?
> > > > >> > > >
> > > > >> > > > I also want to know if .htaccess works on new webserver because we currently use it for the redirection.
> > > > >> > > > (Configuring redirection by another way is still fine for me.)
> > > > >> > >
> > > > >> > > All of our servers use Apache, so .htaccess should continue to
> > > > >> > > function for the forseeable future yes.
> > > > >> > >
> > > > >> > > >
> > > > >> > > > Best Regards,
> > > > >> > > > Jumpei Ogawa (小川 純平)
> > > > >> > >
> > > > >> > > Cheers,
> > > > >> > > Ben
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Jumpei Ogawa (小川 純平)
> > >
> > >
> > >
> > > --
> > > Jumpei Ogawa (小川 純平)
>
>
>
> --
> Jumpei Ogawa (小川 純平)


More information about the kde-www mailing list