xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
<root> / TODO.vm (76399724a83bdbf5a2b3b03d3d66e6de8598b9cd) (994B) (mode 100644) [raw]
[ ] Use 'qcow2 (prealloc metadata)', it is only 6.5MiB.
	Maybe is faster.
[ ] Use 'virsh domifaddrs' to find out the IP addresses?
[ ] Add an install method to stream the image dirrectly + copy-on-read?
[ ] Check other filesystems: nils2 etc for virtual machine.
[ ] Use guestmount when building VM images?
[ ] Add sha1sum of the VM images
[ ] Sign vm images.
[ ] Document that is a i386 image to be able to be run on a lot of machines?
[ ] Control ext4 size of the inodes / number to obtain a smaller image.
	* experiment:
	truncate a.img --size 100M
	tune2fs -l a.img | grep "Inode count" # => 25688; Inode size = 128
	truncate a.img --size 200M
	resize2fs a.img
	tune2fs -l a.img | grep "Inode count" # => 49400
	guestfish: sparsesuper sounds nice
	mkfs.ext4 -N number_of_inodes
	* experiment:
	mkfs.ext4 -N 1000
	tune2fs -l a.img | grep "Inode count" # => 1000; Inode size = 128

	truncate a.img --size 300M
	resize2fs a.img => 1520 inodes!
	So, we must start with a number of inodes.
[ ] 
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master