Live data from Hacker News

Migrating to the EU

rz01.org

61–70 of 747 posts

Re: Migrating to the EU

#61

Used Chromebooks are plentiful and cheap on eBay and many of them are easy to convert to Linux using the tools and instructions at https://docs.mrchromebox.tech/ . I used to have a house full of Chromebooks, but now all but one of them are Linux laptops. My favorite is the Acer CP713 because it comes in flavors with lots of RAM and drive space. I also prefer the convertible touchscreen models because they can go on a…

You can also get a refurbished thinkpad with Ryzen and 16gb of ram for 400€ or so on european Ebay.

Re: Migrating to the EU

#64
post #41

One tip in the EU is to consider just renting a Hetzner Storage Share. This is a 1TB (or more) Nextcloud that Hetzner manages for you for 5.11 Euros per month. A Nextcloud can give you many things at once, file syncing, file shares, contact syncing, calendar syncing, etc. I have been using this for years now after having hosted my own Nextcloud instance. The space and performance they give you for that price is unbea…

I had no idea how cheap this was. Thanks.

Re: Migrating to the EU

#65
post #53
post #43

I find it pretty ironical that people seem to want to move to Von der Leyens vision of the future. As a EU citizen, my trust in what recently has been going down is almost non-existant.

I guess when the alternative is Trump's vision of the future ... - at least I know what I would choose.

I agree, and moved to the EU from the US for related reasons, but Von der Leyen's entire strategy for handling Trump seems to be immediate capitulation to horrendously one-sided deals, which doesn't give a lot of confidence.

Re: Migrating to the EU

#66

Codeberg is only for FOSS projects. Is there some good European hosting provider for git? I really don't want to self host git.

Here's a step-by step guide:

Change directory to your local git repository that you want to share with friends and colleagues and do a bare clone git clone --bare . /tmp/repo.git You just created a copy of the .git folder without all the checked out files.

Upload /tmp/repo.git to your linux server over ssh. Don't have one? Just order a tiny cloud server from Hetzner or another European provider. You can place your git repository anywhere, but the best way is to put it in a separate folder, e.g. /var/git. The command would look like with scp -r /tmp/repo.git me@server:/var/git/.

To share the repository with others, create a group, e.g. groupadd --users me git You will be able to add more users to the group with groupmod.

Your git repository is now writable only by me. To make it writable by the git group, you have to change the group on all files in the repository to git with chgrp -R git /var/repo.git and enable the group write bit on them with chmod -R g+w /var/repo.git.

This fixes the shared access for existing files. For new files, we have to make sure the group write bit is always on by changing UMASK from 022 to 002 in /etc/login.defs.

There is one more trick. For now on, all new files and folders in /var/git will be created with the user's primary group. We could change users to have git as the primary group.

But we can also force all new files and folders to be created with the parent folder's group and not user primary group. For that, set the group sticky bit on all folders in /var/git with find /var/git -type d -exec chmod g+s \{\} +

You are done.

Want to host your git repository online? Install caddy and point to /var/git with something like

    example.com {
      root * /var/git
      file_server
    }
Your git repository will be instantly accessible via https://example.com/repo.git.

Re: Migrating to the EU

#67

Codeberg is only for FOSS projects. Is there some good European hosting provider for git? I really don't want to self host git.

Gitea is one of the easiest projects to to self-host. And to do regular upgrades, you only need to update one file. It has been a joy to self-host for many years now.

Re: Migrating to the EU

#68
post #53
post #43

I find it pretty ironical that people seem to want to move to Von der Leyens vision of the future. As a EU citizen, my trust in what recently has been going down is almost non-existant.

I guess when the alternative is Trump's vision of the future ... - at least I know what I would choose.

Trump will be gone in 2028 and policies may radically change depending on who replaces him. There is no change on the horizon in the EU when Von Der Leyen is replaced (she is just the current public face of the blob...)

Re: Migrating to the EU

#69
post #23

Is there a good tool to automatically (and continuously) mirror all GitHub repositories to another provider? Something with GH API integration that also catches newly created projects/repos? Issues and PRs would be a bonus, but not a requirement in my case.

Haven't used it, but I've been intrigued by git-bug (stores issues in got itself) for years, to use as the issue/pr sync.

Bonus that now the issues aren't vendor locked either

https://github.com/git-bug/git-bug/blob/trunk/doc/feature-ma...

Post reply on HN