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.
Commit 3c3d00aa66f86c25cb35f273f017d6f0ea4552b7

Added template for libvirt
Now you can easily run:
virsh --define --file rocketgit.xml
Author: Catalin(ux) M. BOIE
Author date (UTC): 2015-04-20 16:06
Committer name: Catalin(ux) M. BOIE
Committer date (UTC): 2015-04-20 16:06
Parent(s): cda372cdb187782a1a1f8b0986c30fecbd0d0eb6
Signing key:
Tree: abb4a3a4161e16a6adc712ed37afbdeba4bdb356
File Lines added Lines deleted
samples/rocketgit1.xml 100 0
File samples/rocketgit1.xml added (mode: 100644) (index 0000000..0b6fc48)
1 <domain type='kvm'>
2 <name>rocketgit1</name>
3 <memory unit='KiB'>262144</memory>
4 <currentMemory unit='KiB'>262144</currentMemory>
5 <vcpu placement='static'>1</vcpu>
6 <os>
7 <type arch='x86_64' machine='pc'>hvm</type>
8 <boot dev='hd'/>
9 </os>
10 <features>
11 <acpi/>
12 <apic/>
13 <pae/>
14 </features>
15 <cpu>
16 </cpu>
17 <clock offset='utc'>
18 <timer name='rtc' tickpolicy='catchup'/>
19 <timer name='pit' tickpolicy='delay'/>
20 <timer name='hpet' present='no'/>
21 </clock>
22 <on_poweroff>destroy</on_poweroff>
23 <on_reboot>restart</on_reboot>
24 <on_crash>restart</on_crash>
25 <pm>
26 <suspend-to-mem enabled='no'/>
27 <suspend-to-disk enabled='no'/>
28 </pm>
29 <devices>
30 <emulator>/usr/bin/qemu-kvm</emulator>
31 <disk type='file' device='disk'>
32 <driver name='qemu' type='qcow2'/>
33 <source file='/var/lib/libvirt/images/rocketgit1.qcow2'/>
34 <target dev='vda' bus='virtio'/>
35 <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
36 </disk>
37 <controller type='usb' index='0' model='ich9-ehci1'>
38 <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x7'/>
39 </controller>
40 <controller type='usb' index='0' model='ich9-uhci1'>
41 <master startport='0'/>
42 <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0' multifunction='on'/>
43 </controller>
44 <controller type='usb' index='0' model='ich9-uhci2'>
45 <master startport='2'/>
46 <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x1'/>
47 </controller>
48 <controller type='usb' index='0' model='ich9-uhci3'>
49 <master startport='4'/>
50 <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x2'/>
51 </controller>
52 <controller type='pci' index='0' model='pci-root'/>
53 <controller type='virtio-serial' index='0'>
54 <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
55 </controller>
56 <interface type='network'>
57 <source network='default'/>
58 <model type='virtio'/>
59 <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
60 </interface>
61 <serial type='pty'>
62 <target port='0'/>
63 </serial>
64 <console type='pty'>
65 <target type='serial' port='0'/>
66 </console>
67 <channel type='unix'>
68 <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/rocketgit1.org.qemu.guest_agent.0'/>
69 <target type='virtio' name='org.qemu.guest_agent.0'/>
70 <address type='virtio-serial' controller='0' bus='0' port='1'/>
71 </channel>
72 <channel type='spicevmc'>
73 <target type='virtio' name='com.redhat.spice.0'/>
74 <address type='virtio-serial' controller='0' bus='0' port='2'/>
75 </channel>
76 <input type='tablet' bus='usb'/>
77 <input type='mouse' bus='ps2'/>
78 <input type='keyboard' bus='ps2'/>
79 <graphics type='spice' autoport='yes'/>
80 <sound model='ich6'>
81 <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
82 </sound>
83 <video>
84 <model type='qxl' ram='65536' vram='65536' heads='1'/>
85 <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
86 </video>
87 <redirdev bus='usb' type='spicevmc'>
88 </redirdev>
89 <redirdev bus='usb' type='spicevmc'>
90 </redirdev>
91 <memballoon model='virtio'>
92 <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
93 </memballoon>
94 <rng model='virtio'>
95 <backend model='random'>/dev/random</backend>
96 <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
97 </rng>
98 </devices>
99 </domain>
100
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