And why?

  • SynopsisTantilize@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    7 hours ago

    I’m asking this because I’m self learning and new. Is there a place I can host my code? I’ve been build a pretty robust app in visual code Windows Forms C#. I don’t want to advertise or anything. I just want to have the code hosted as a backup

  • ⸻ Ban DHMO 🇦🇺 ⸻@aussie.zone
    link
    fedilink
    English
    arrow-up
    0
    ·
    19 hours ago

    I used to self host Gitea, just private repos for university assignments and other personal projects that I was going to open source one day (I have a real problem with finishing things). Then a big storm hit where I live and the internet was out for 2 weeks (I could still use my phone if I stood in the right spot), over that time I was able to work locally but for when I was out and about I couldn’t collaborate on anything because I couldn’t access it so I begrudgingly moved to GitHub.

    At least with GitHub I get very reliable and fast hosting even if everything I write is being fed to AI. Their search is also amazing.

    I do plan, however on getting Forjego set up for private stuff again, because some stuff cannot be made public. When the day comes that I finish something and open source it, I’ll probably put it on Codeberg. Hopefully my project will be good enough that people are driven to join Codeberg to get involved.

    As for my GitHub account, I won’t be able to ditch that so I may continue to random bugs and typos I come across. I wouldn’t want to impose my beliefs on someone else’s project

  • sudoer777@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 day ago

    As much as I hate GitHub, for in-person projects involving multiple people I usually end up having no choice since they usually think GitHub is the most important programming tool ever and nothing I do is going to convince them to create an account on something that’s not GitHub.

    For personal stuff I use Forgejo and disable everything except the code view, so I have a quick way to show people stuff I’m doing (for career reasons).

    If I was doing a project with multiple people and actually got to chose the platform I would probably use Forgejo or Codeberg and make use of the project management features.

    Pijul looks interesting but the ecosystem is very lacking and it doesn’t integrate well with Guix which I base a lot of my workflows around, so until this improves switching to pijul creates more problems than it fixes. The only other VCS and frontend I’m familiar with is GitLab which I don’t use anymore self-hosted since Forgejo is more performant and the main version randomly deleted all my repos and changed all sorts of stuff.

    cgit also looks interesting, I might look into it.

    • theherk@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      22 hours ago

      Do you really use it or are you just adding an alternative to the conversation? It is an interesting concept (commutation) but not likely to supplant git.

    • sudoer777@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      1 day ago

      I considered using pijul but everything in Nix/Guix is oriented around git as are the plugins for my text editor and CLI, and there aren’t good self-hosted web frontends that I can use to put pijul projects on my linkedin profile or whatever. I want to switch to it but the ecosystem surrounding it needs to actually exist first.

      • xoggy@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        9 hours ago

        This is actually why I prefer using pijul. I don’t want to commit my secrets to a git repo and nix will refuse to build because I’m pulling in files that aren’t tracked. Simple solution is to not make the flake directory a git repo and it won’t complain. That’s my solution at least. I also prefer using git (and therefore pijul) via cli rather than as a text editor integration so my experience differs.

        • sudoer777@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          5 hours ago

          I use git primarily via cli also, the text editor integration (with helix) highlights information such as what lines haven’t been committed and makes it easier to access other files in the repo, the fish integration tells me if there’s files that haven’t been committed or commits that haven’t been pushed without having to run git status

      • corsicanguppy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        13 hours ago

        Thought this was abandoned?

        We can’t answer this question as written. Only you can confirm what you were thinking.

  • GreenKnight23@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 days ago

    self-hosted gitlab.

    I love it. I can clone external repos on a schedule and build my projects based on my local cache. I’m even running some automation tasks like image deployments out of it too.

      • GreenKnight23@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        12 hours ago

        pipeline schedules. once a month I clone the remote repo into a local branch, and push it back to my repo with an automatic merge request assigned to me. review & merge kicks off build pipeline.

        I also use pipeline schedules to do my own ddns to route 53 using terraform. runs once every 15 minutes.

        also once a week I’ve got about 50 container images I cache locally that I build my own images from.

        • corsicanguppy@lemmy.ca
          link
          fedilink
          English
          arrow-up
          0
          ·
          11 hours ago

          pipeline schedules

          Ah. Cron but from inside the garden. Okay.

          No need to talk about containers. Having worked security (and build/rel) they present no net value.

  • ElectronBadger@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 days ago

    Codeberg for all my projects, both private and public. Some are mirrored to Github. Also Codeberg Pages and its Woodpecker CI.

  • ramenu@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    Codeberg for public repositories, cgit (if that even counts) on my own server for private ones

  • CHKMRK@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 days ago

    I’ve been selfhosting Gitea for years now and it’s great, but I also don’t really collaborate with anyone else so YMMV. Originally I wanted to go with GitLab utb it’s too resource intensive for my use case

    • Drew@sopuli.xyz
      link
      fedilink
      arrow-up
      0
      ·
      2 days ago

      forgejo is a fork made by a nonprofit and deals with security issues much quicker

  • toastal@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 days ago

    For Darcs I have been using darcs hub & mirroring to my server. That said Smederee has slowly but surely been shaping up to be a better replacement (recently got reStructureText support!); once they have obliterate support, I will be tempted to make it primary for real since it covers all the basics.

    For Pijul, I can really only use it self-hosted over SSH. Nest is far too feature barren to be usable—especially without the ability to fetch tarballs for instance where you can’t have or use the pijul binary for fetching (which is a bit ironic since the Pijul binary has an archive to create tarballs, Nest just doesn’t expose it). Pijul is faster & the key concept of separating your commit ID from details (such as Darcs or Git using Name <e@mail.address> as the identifier) is much nicer not just for privacy if wanted but changing these details for whatever your reasons maybe (imagine changing your name after marriage or sex change & trying to convince all projects you’ve committed to to rewrite their history with your new info to not be confused or dead-named—most maintainers would ignore you). Someone should write a decent, lightweight forge so Pijul can be usable.

    If using Git, an inferior VCS IMO, things are now going hosted on Codeberg. In the past, I had paid for SourceHut & while it was a generally nice, lightweight experience I was disappointed with the features & progress to the point I didn’t feel I was getting good value. Since I don’t write any of my own code using Git anymore, I don’t really bother self-hosting cgit or something.