You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Pages Warning that content is accessible even on private repos -->
2
+
{{if and (eq .Repository.LowerName "pages") (.Repository.IsPrivate)}}
3
+
<div class="ui warning message">
4
+
This content is published publicly using <a href="https://docs.codeberg.org/codeberg-pages/">Codeberg Pages</a>
5
+
</div>
6
+
{{end}}
7
+
8
+
<!-- Warning if private repo exceeds a certain size (hardcoded to 100MB + 250MB different warning-->
9
+
{{if and (.Repository.IsPrivate) (ge .Repository.Size 100000000)}}
10
+
<div class="ui error message">
11
+
Your private repo uses up a{{if ge .Repository.Size 250000000}}n insanely{{end}} large amount of disk storage, while
12
+
all content should ideally be public and licensed under an OSI/FSF-approved Free Software licence.<br/>
13
+
<strong>Please refer to our ToS and the FAQ about <a href="https://docs.codeberg.org/getting-started/faq/#is-it-allowed-to-host-non-free-software%3F">software licenses</a> and <a href="https://docs.codeberg.org/getting-started/faq/#can-i-host-private-repositories%3F">private repositories</a></strong><br/>
14
+
Thank you for considering to release this repo to the public or reducing your required disk space for this repo.
0 commit comments