<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=1595&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Now Gogs packages for Devuan]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=1595</link>
		<description><![CDATA[The most recent posts in Now Gogs packages for Devuan.]]></description>
		<lastBuildDate>Fri, 15 Sep 2017 23:51:49 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Now Gogs packages for Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=5059#p5059</link>
			<description><![CDATA[<p>I packagin the gogs git management painless software for all Debian/Devuan versions:</p><p><a href="http://vegnuli.wordpress.com/2017/09/15/gogs-packages-for-debian-devuan-venenux/" rel="nofollow">vegnuli.wordpress.com/2017/09/15/gogs-p … n-venenux/</a></p><p>Due gogs produced binary assumed are in a path where will be all the required files, <br />the default installation are set to /usr/lib/gogs, due its so hard to change all the references.. <br />so the gogs binary will find all where was run, the daemon set WORKINGDIR to this location.<br />Rest of path are &#039;/var/lib/gogs&#039; for data files and &#039;/var/log/gogs&#039; for logging files.<br />The configuration called &quot;custom/conf/app.ini&quot; are set by daemon script to &#039;/etc/gogs/app.ini&#039;</p><p>The gogs package setup in port 3000 a self hosting service for git management, <br />after install automatically browse to <a href="http://127.0.0.1:3000" rel="nofollow">http://127.0.0.1:3000</a> for last step steup or usage.</p><p><strong> Daemon service and git repositories:</strong></p><p>After installing this package, the daemon automatically will be enabled, <br />can be disabled at /etc/default/gogs by setting the following line to false as:<br />&#160; GIT_DAEMON_ENABLE=false<br />The gogs service by default looks into the directory /var/lib/git/ for<br />repositories. It expects to have read-write access, all the management will be<br />made by the gogs so the urls,repositories must setup and populate with gogs interfaces.<br />A recomended its to set owner of that directory to the gogs user</p><p><strong> * Default values</strong></p><p>The app.ini default values was changes, the most notables changes are:<br />* The software user are not &#039;git&#039;, user are &#039;gogs&#039;.<br />* The UNIX socket permission was fixed to 644 from insecure value<br />* The OFFLINE_MODE are set to true, so gravatar are locally only<br />* All the certificate files are under /var/lib/gogs/certs/<br />* Will searsh and put git repositories under /var/lib/git<br />* The prefered/default licence are the GPL v3<br />* All the file sizes for uploads/attachements are between 12 and 24 Mb<br />* All paths for file uploads/attachements are in /var/lib/gogs/data/<br />* Maximun upload number of files are 1 to 3<br />* The default db for gogs internal work are sqlite3 for easy setup<br />* Email feature are enabled and assumed localhost at port 25, no certs checks<br />* Session are file provider and stored at /var/lib/gogs/data/sessions<br />* Local Avatars due offline mode (but set to true) and in /var/lib/gogs/data/avatars<br />* There&#039;s file log apart of the daemon log, in /var/log/gogs as gogslog.log<br />* The Raw file render mode unless upstream will always set to false and disabled due security<br />The daemon script was changed as:<br />* Working directory are the installatin real directory at /usr/lib/gogs<br />* Default user and group are &#039;gogs&#039;<br />* The daemon arguments to parse are &#039; web --config /etc/gogs/app.ini&#039; as the custom ini file<br />Those values are according to the git Debian packages defaults.</p><p> <strong>* About PAM authentication</strong></p><p>The gogs package have enabled pam feature, but if you want it to work with normal Linux passwords, <br />implicts the user running Gogs must have read access to /etc/shadow, this are a security risk.</p><p><strong> * About packagin sources and related runtime/build dependences</strong></p><p>The gogs sources have build in more others go projects that must be packaged separated, <br />so dependency of resulting package are only &#039;libc6 (&gt;= 2.3.6~)&#039; due the gogs sources <br />depends on exactly versions in time of those sub projects.</p>]]></description>
			<author><![CDATA[dummy@example.com (mckaygerhard)]]></author>
			<pubDate>Fri, 15 Sep 2017 23:51:49 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=5059#p5059</guid>
		</item>
	</channel>
</rss>
