• cmhe@lemmy.world
    link
    fedilink
    arrow-up
    13
    ·
    3 months ago

    It has more than you expect, if your project is established on github and want to move away you have to deal with:

    • migration of issues
    • migration of pull requests
    • migration of all review comments etc
    • migration of the wiki
    • migration of the pages
    • convince all contributors to possible create a new account somewhere else
    • changing of the project urls. I don’t think github offers a url rewrite service
    • forks on github will not have the new destination as the fork base
    • change the ci and release process
    • because you cannot add url rewrite rules to your old gh project, you might need to only ‘archive’ the project there with manually written text, to point to the new destination, for people to find it
    • DacoTaco@lemmy.world
      link
      fedilink
      arrow-up
      8
      ·
      3 months ago

      Ye, some of these i started thinking of after i made my comment, which is my bad. Its true a project that uses the full github stack is harder to move, its its still relatively easy. The only problem you’d have is redirecting traffic to a new host, but this problem exists in all platforms and not only in project management sites like github.
      As for your bulletpoints, i have a few remarks. Mainly that github pages are silly and they should not be used as a website. And even if you are, there are tools out there to convert the markdown from github pages into html/css/js so moving that is easy. Same with wiki pages, they are just markdown. 90% of markdown is compatible with other sites, and the parts that arent probably have a site specific syntax that youll need to look up, nothing bad. Review comments i will disregard, as those are part of the PR process. Once a project is moved you could hide the PR tab on github or close all new ones redirecting them to the new host. All older ones can be handled and phased out. Once a pr is merged, get the commit from github and push it to the new host. Thanks git!
      Random contributers have nothing to say imo. If a project’s team feels the need to move away from github a true contributer/side team member/helper will move with them, and if they dont then so be it. Once a project team feels the need to move, something bad must be going on and moving will always be the better move for their mental health than to keep working with bad stuff.
      As mentioned before ci/release pipelines are all yaml. Their odeas stay the same, only action names & their patameters change. Nothing complex there to move there…

      So im short : only moving your traffic is a real problem, but is a problem on all websites and all communities, not just github or a project on github

      • cmhe@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        3 months ago

        As I said, it is not impossible to move away from gh compared to many other cases in other industries, just that it is more difficult than necessary because vendor-lockin is allowed.

        If vendor-lockin was illegal, companies had more incentives to use established or create new standards to facilitate simpler migration between software stacks, without changing the external interface.

        For instance allowing your own DNS name to be used as the repo/project basepath instead of enforcing github.com, Allowing comments, reviews, issues and pull requests via email or other federated services, instead of enforcing github accounts to do so, providing documented, stable and full-featured APIs for every component of their software, so that it is easy to migrate and pick and choose different components of their while stack from possible different vendors, …

        There are so many ways that would improve the migration situation, while also providing more ways for other ideas to compete on a level playing field. If a bright engineer has an idea for improving one component from github, they should not be required to write a whole separate platform first.

      • toastal@lemmy.ml
        cake
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Small aside: Microsoft GitHub’s proprietary Markdown fork is certainly not 90% compatible—most egregious IMO was overloading blockquote semantics with callouts which breaks semantics all over the web. Some providers & forks have had to support their fork due to the monopoly control MS GitHub asserts.

        • DacoTaco@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          Ye fair, it all depends on what markup you have and what features you use. Personally i dont think my markup of priiloader has any weird stuff that is specific to github, but i will have to check to be honest. If there was any special stuff id try to steer away from github specifics as much as i can, because i believe and work in a way it should always be possible to take away any part of a project and replace it with something else. It makes projects very flexible to change

          • toastal@lemmy.ml
            cake
            link
            fedilink
            arrow-up
            1
            ·
            3 months ago

            The real issue is the base Markdown spec is absolutely barren. Folks have tried to shoehorn Markdown into something general purpose so everyone & their brother needed to fork it to add some level of usability since base Markdown isn’t suitable for blogging, technical documentation, white papers, etc. which it was never designed to do

        • Tekhne@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          Do you mean admonitions? E.g. info, warning, etc? There’s precedent for that in commonly-used open source implementations, e.g. obsidian.md (which uses the same syntax, and started before). What semantics does it break? It’s designed to read well in plaintext and render nicely even if used in a renderer that doesn’t support admonitions, e.g.

          [!NOTE] Information the user should notice even if skimming.

          As opposed to other common markdownish implementations that use nonsensical plaintext which renders poorly in alternative renderers. Here’s a discussion on the topic in the CommonMark forums.

          • toastal@lemmy.ml
            cake
            link
            fedilink
            arrow-up
            1
            ·
            3 months ago

            Read the Markdown spec where it says the > denotes a blockquote. There isn’t room to overload it without breaking that into something not backwards compatible (such as CommonmsMark which will follow the spec & render a blockquote—which, according to the HTML spec, must be text quoting a source). Just because some of the bigger players—namely the proprietary forks, Obsidian & MS GitHub—doesn’t mean it’s not breaking with the original spec. Go ahead & do it, but don’t lie & say it is Markdown or Markdown-compatible. Instead these entities try to push & sway everyone to adopt their syntax rather than working with say CommonMark with RFCs.

            CommonMark has the ::: block syntax, but folks using this are relying on stringly-typed, not-well-defined options when they do ::: note as it just becomes a CSS class where anyone could style it.

            As callouts are such an everpresent construct in technical writing, documentation, & so on, what you need is first-class support. Docbook as an output has first-class support, but sadly W3 shot down the last attempt at an element proposal (but can be properly by manually constructed with role=note & aria-labelledby). reStructuredText & AsciiDoc are both lightweight markup syntaxes that support first-class callouts & other elements (definition lists, summary/details, figures, etc.) as well as having first-class metadata (like basically every other creative work format for images, audio, documents).

            All of this is to say what Microsoft is doing is no longer Markdown & only they hold the keys to the spec (you can complain in their forums, but you can’t submit an RFC or pull request). But also, Markdown / CommonMark are honestly ill-suited for the task of technical writing since it doesn’t support basic features for that task (embedding HTML defeats the purpose & portability)—and instead we have a lot of ad-hoc hacks & bad HTML output due to choosing the wrong tool for the job.

    • FaceDeer@kbin.social
      link
      fedilink
      arrow-up
      8
      arrow-down
      2
      ·
      3 months ago

      All of those issues would arise if you wanted to migrate an established project to Github as well.

      • cmhe@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        Well the reason for that is the vendor-lockin and centralized technology.

        If your project for instance uses a similar development method as the linux kernel does, e.g. sending and reviewing patches via mailing lists and providing url to push and pull git repos from, it is quite easy to switch out the software stack underneath, because your are dealing with quasi-standart data: Mbox, SMTP, HTTP(s) and DNS. So you can move your whole community to a different software stack by just changing some DNS entries and maybe provide some url rewrite rules without disrupting the development process.

        I am not saying that the mailing list development process is the right one for every project, but it demonstrates how agnostic to the software stack it could be.

        If vendor-lockin is made illegal, the service providers would have more incentives to use or create standardized APIs, so that their product can be replaced by competitors. So switching to or from github/gitlab/… becomes easier.

    • krolden@lemmy.ml
      link
      fedilink
      arrow-up
      6
      arrow-down
      1
      ·
      3 months ago

      Gitea can migrate all issues, PRs, wiki, etc. It works very well.

      • utopiah@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Sure, I’ve done that. The problem is, it doesn’t “migrate” the audience. The chances that people will contribute on your individual Gitea repositories versus Github is much much lower. Just clarifying to highlight it’s not just a technical problem.

        • toastal@lemmy.ml
          cake
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          You gotta consider the inverse as well. There are a lot of folks that would more happily create an account with a free software service but will only reluctantly use MS GitHub. It’s the same community-dividing tactic as putting all other communications on Discord/Slack which cut off a part of the community that wants to live the ethos by using free software/services to create free software/services.

          • utopiah@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            3 months ago

            Sure except the install base isn’t, sadly, comparable precisely because Microsoft has been using such tactics since its inception. That’s why they’ve had problems with the justice for decades now.

            • utopiah@lemmy.ml
              link
              fedilink
              arrow-up
              1
              ·
              3 months ago

              To clarify, it’s legally not the same to promote your own products when you are in a monopoly position versus when you are not.