2018-06-06 Away from GitHub

Microsoft is buying GitHub. Mastodon is abuzz with discussions. Let’s remind ourselves of Embrace, extend, and extinguish, the phrase used internally by Microsoft to describe its strategy for entering product categories involving widely used standards, extending those standards with proprietary capabilities, and then using those differences to disadvantage its competitors, according to Wikipedia. 🤢

Just read through the examples on that page. 🤮

So I want to move away from GitHub.

Git itself is federated. You can pull from anywhere and push wherever they allow you to. Some of the things you cannot do, however:

What other functionality do you use? I think that’s all I do.

Maybe I’ll just create a software wiki for myself which implements these features and leave it at that. This requires a few things:

  1. hosting my own git repositories ✔️
  2. a platform to manage tickets ✔️
  3. notifications by mail ✔️

I have a proof of concept up and running. It’s based on Oddmuse and a bunch of additions in the config file.

I suspect it’s either going to be that, or something like Fossil. The main drawback is that nobody else uses it, however. All those Mercurial users know what I’m talking about. I know that I don’t like to contribute to projects using “unpopular” version control software.

Fossil has tickets and it serves a website for its repositories. I dislike the database stuff but SQLite has a good reputation and at the end of the day all the .git directories are gobbledygook to me anyway.

I don’t really need code browsing via the web. That’s why I don’t need cgit, I think. I hardly ever do it. Sometimes I link to particular lines of code when I comment on an issue, perhaps. I guess I do kind of miss the cheap README.md = project homepage and project documentation.

A feature I sometimes used was online text editing: I sometimes fixed typos in documents which resulted in automatic pull requests on GitHub and that was useful and cool.

The other alternatives like GitLab and Gitea have a reputation for needing a lot of resources, so that’s bad.

Tags:

Comments

JWZ comments: “Anyway, this is your periodic reminder that Microsoft is a vile garbage fire of a company.”

– Alex


I guess I do kind of miss the cheap README.md = project homepage and project documentation.

cgit actually kind of has this, I just discovered. Just sprinkle this in your /etc/cgitrc:

readme=master:README.md
readme=master:README
about-filter=/usr/local/lib/cgit/filters/about-formatting.sh

(above scan-path, if you put that in your cgitrc).

Example:

· http://koldfront.dk/git/fffs/about/

(I haven’t fixed the broken image link yet).

Adam 2018-06-06 14:51 UTC


Nice! And works for me: Face Generator README.

Current setup:

#
# cgit config
# see cgitrc(5) for details

css=/cgit-css/cgit.css
logo=/cgit-css/cgit.png

readme=master:README.md
readme=master:README
about-filter=/usr/lib/cgit/filters/about-formatting.sh

source-filter=/usr/lib/cgit/filters/syntax-highlighting.py
                                                                                                         
clone-prefix=https://alexschroeder.ch/cgit                                                               

remove-suffix=1
enable-index-owner=0
scan-path=/home/git

Anything else I would need?

– Alex Schroeder 2018-06-07 06:14 UTC


Note to self: I use git clone ssh://git@alexschroeder.ch:882/home/git/face.git where as others will use git clone https://alexschroeder.ch/cgit/face.

– Alex Schroeder 2018-06-07 07:15 UTC


The only things I have besides what you’ve got is:

max-stats=year
noplainemail=1
local-time=1

and I’ve set root-title and root-desc

Adam 2018-06-08 15:31 UTC


Thanks!

– Alex Schroeder 2018-06-08 15:36 UTC


I’m also using this opportunity to splitting subfolders out into new repositories for some projects. The GitHub help pages are still useful. :)

– Alex Schroeder 2018-06-09 20:25 UTC


Free Software Needs Free Tools. «The only cost, we are told, is that the tools themselves are nonfree or run as network services with code we cannot see, copy, or run ourselves. In their decisions to use these tools and services—services such as BitKeeper, SourceForge, Google Code and GitHub—free software developers have made “ends-justify-the-means” decisions that trade away the freedom of both their developer communities and their users. These decisions to embrace nonfree and private development tools undermine our credibility in advocating for software freedom and compromise our freedom, and that of our users, in ways that we should reject.»

– Alex Schroeder 2018-06-21 19:06 UTC


Please make sure you contribute only your own work, or work licensed under the GNU Free Documentation License. Note: in order to facilitate peer review and fight vandalism, we will store your IP number for a number of days. See Privacy Policy for more information. See Info for text formatting rules. You can edit the comment page if you need to fix typos. You can subscribe to new comments by email without leaving a comment.

To save this page you must answer this question:

Please say HELLO.