move to Gitea

This commit is contained in:
Matthias Kretschmann 2018-12-04 02:31:39 +01:00
parent f8724172e2
commit e89d838ef4
Signed by: m
GPG Key ID: 606EEEF3C479A91F
6 changed files with 18 additions and 65 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
node_modules
key.json
yarn.lock
package-lock.json

View File

@ -1,40 +1,19 @@
<img align="left" src="logo-gitberlin-header.png" height="100">
## git.berlin
[www.git.berlin](https://www.git.berlin) | git:git.berlin
> Gitea installation [git.berlin](https://git.berlin) | git:git.berlin
---
## Config
- [Appearance](appearance.md)
- [Directories](directories.md)
- do monitor config template changes: https://gitlab.com/gitlab-org/omnibus-gitlab/commits/master/files/gitlab-config-template/gitlab.rb.template
## Documentation
- http://doc.gitlab.com/omnibus/
- https://gitlab.com/gitlab-org/omnibus-gitlab/tree/master/doc
- https://gitlab.com/gitlab-org/gitlab-ce/tree/master/doc
- https://docs.gitea.io/
## Handy commands
```bash
cd /etc/gitlab/
cd /var/opt/gitlab/
sudo su git
cd /home/git
# reconfigure all the things
sudo gitlab-ctl reconfigure
# restart all the things
sudo gitlab-ctl restart
# run checks
sudo gitlab-rake gitlab:check
# clean all the things
sudo gitlab-rake assets:clean assets:precompile cache:clear
# backup
sudo gitlab-rake gitlab:backup:create
vi gitea/custom/conf/app.ini
```

View File

@ -1,14 +0,0 @@
# git.berlin
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ <br>
░ ░ ░ Maintained by [@kremalicious](https://matthiaskretschmann.com) <br>
░ ░ ░ `>` [explore public repositories](https://www.git.berlin/explore/projects)<br>
░ ░ ░ ░ ░ ░ ░ ░ ░ <br>
░ ░ ░ ░ ░ ░ ░<br>
░ ░ ░ ░ ░ <br>
░ ░ ░ <br>
![logo](logo-gitberlin.png)
![logo-header](logo-gitberlin-header.png)

View File

@ -1,12 +0,0 @@
# Default
| Default location | Permissions | Ownership | Purpose |
| ---------------- | ----------- | --------- | ------- |
| `/var/opt/gitlab/git-data` | 0700 | git:root | Holds repositories directory |
| `/var/opt/gitlab/git-data/repositories` | 2770 | git:git | Holds git repositories |
| `/var/opt/gitlab/gitlab-rails/shared` | 0751 | git:gitlab-www | Holds large object directories |
| `/var/opt/gitlab/gitlab-rails/shared/artifacts` | 0700 | git:root | Holds CI artifacts |
| `/var/opt/gitlab/gitlab-rails/shared/lfs` | 0700 | git:root | Holds LFS objects |
| `/var/opt/gitlab/gitlab-rails/uploads` | 0700 | git:root | Holds user attachments |
| `/var/opt/gitlab/gitlab-pages` | 0750 | git:gitlab-www | Holds user pages |
| `/var/opt/gitlab/gitlab-ci/builds` | 0700 | git:root | Holds CI build logs |

View File

@ -5,20 +5,20 @@
"name": "Matthias Kretschmann",
"email": "m@kretschmann.io"
},
"homepage": "https://www.git.berlin",
"homepage": "https://git.berlin",
"main": "gulpfile.js",
"devDependencies": {
"browser-sync": "^2.17.3",
"browser-sync": "^2.26.3",
"gulp": "^3.9.1",
"gulp-awspublish": ">=3.0.0",
"gulp-gcloud-publish": "^1.2.1"
"gulp-awspublish": "^3.4.0",
"gulp-gcloud-publish": "^2.1.1"
},
"engines": {
"node": ">=0.10.29"
"node": ">=10"
},
"private": true,
"repository": {
"type": "git",
"url": "https://www.git.berlin/kremalicious/git.berlin.git"
"url": "https://git.berlin/m/git.berlin.git"
}
}

View File

@ -5,7 +5,7 @@
<title>git.berlin</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Public GitLab CE installation housing git repositories for projects made in Berlin, Germany">
<meta name="description" content="Public Gitea installation housing git repositories for projects made in Berlin, Germany">
<link rel="canonical" href="https://git.berlin">
<style>
@ -154,7 +154,7 @@
<meta name="twitter:creator" content="@kremalicious">
<meta name="twitter:url" content="https://git.berlin">
<meta name="twitter:title" content="git.berlin">
<meta name="twitter:description" content="Public GitLab CE installation housing git repositories for projects made in Berlin, Germany">
<meta name="twitter:description" content="Public Gitea installation housing git repositories for projects made in Berlin, Germany">
</head>
<body>
@ -167,18 +167,17 @@
</svg>
<h1 class="text-center">git.berlin</h1>
<p>Public <a href="https://about.gitlab.com/features/">GitLab CE</a> installation housing git repositories for projects made in Berlin, Germany. You know you always wanted <code>git.berlin</code> in your remotes.</p>
<p>Sign up is open for everyone creating open source or personal projects. GitLab is set up to private by default for all new repositories and groups. You're encouraged to make your repositories public though.</p>
<p>Public <a href="https://gitea.io">Gitea</a> installation housing git repositories for projects made in Berlin, Germany. You know you always wanted <code>git.berlin</code> in your remotes.</p>
<p>Sign up is open for everyone creating open source or personal projects. Gitea is set up to private by default for all new repositories and groups. You're encouraged to make your repositories public though.</p>
</div>
<div class="login text-center">
<div class="container">
<p>
<a class="btn btn--primary" href="https://git.berlin/users/sign_in">Sign In or Sign Up</a>
<a class="btn" href="https://git.berlin/explore/projects">Explore public repositories</a>
<a class="btn btn--primary" href="https://git.berlin/user/login">Sign In or Sign Up</a>
<a class="btn" href="https://git.berlin/explore/repos">Explore public repositories</a>
</p>
</div>
</div>