<feed xmlns='http://www.w3.org/2005/Atom'>
<title>boca.git/debian/boca-common.postinst, branch master</title>
<subtitle>This is an administration system to held programming contests</subtitle>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/'/>
<entry>
<title>Enable debhelper automatic generation of shell code</title>
<updated>2023-03-04T01:24:15+00:00</updated>
<author>
<name>Davi Antônio da Silva Santos</name>
<email>antoniossdavi@gmail.com</email>
</author>
<published>2023-03-02T03:02:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=6695d2384069b7016398b2a55fc6962b1d8e6985'/>
<id>6695d2384069b7016398b2a55fc6962b1d8e6985</id>
<content type='text'>
The maintainer scripts have been modified with the addition of
`#DEBHELPER#`. This enables dh_installdeb to automatically generate
shell code on maintainer scripts.

The following Lintian warnings have been addressed:
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-autojudge.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-common.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-db.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-submission-tools.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-web.postinst]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The maintainer scripts have been modified with the addition of
`#DEBHELPER#`. This enables dh_installdeb to automatically generate
shell code on maintainer scripts.

The following Lintian warnings have been addressed:
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-autojudge.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-common.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-db.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-submission-tools.postinst]
* boca source: maintainer-script-lacks-debhelper-token
  [debian/boca-web.postinst]
</pre>
</div>
</content>
</entry>
<entry>
<title>Abort maintainer scripts on failure</title>
<updated>2023-03-04T01:24:15+00:00</updated>
<author>
<name>Davi Antônio da Silva Santos</name>
<email>antoniossdavi@gmail.com</email>
</author>
<published>2023-03-02T02:55:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=b08843cae0ae8aa428a2a654fc48fbd15c65c714'/>
<id>b08843cae0ae8aa428a2a654fc48fbd15c65c714</id>
<content type='text'>
The `set -e` flag has been enabled in the maintainer scripts. This fixes
the Lintian warnings:
* boca-autojudge: maintainer-script-ignores-errors [postinst]
* boca-submission-tools: maintainer-script-ignores-errors [postinst]
* boca-web: maintainer-script-ignores-errors [postinst]

The packages boca-common and boca-db were altered to set the flag as
early as possible in their maintainer scripts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `set -e` flag has been enabled in the maintainer scripts. This fixes
the Lintian warnings:
* boca-autojudge: maintainer-script-ignores-errors [postinst]
* boca-submission-tools: maintainer-script-ignores-errors [postinst]
* boca-web: maintainer-script-ignores-errors [postinst]

The packages boca-common and boca-db were altered to set the flag as
early as possible in their maintainer scripts.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix chown usage in maintainer scripts</title>
<updated>2023-03-04T01:24:15+00:00</updated>
<author>
<name>Davi Antônio da Silva Santos</name>
<email>antoniossdavi@gmail.com</email>
</author>
<published>2023-03-02T02:47:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=89d0e395460fe5c0501d95c1223a866a53bdff6b'/>
<id>89d0e395460fe5c0501d95c1223a866a53bdff6b</id>
<content type='text'>
The maintainer scripts used by boca-common and boca-web used points to
separate the user from its group, which is discouraged. The point has
been replaced with a colon as recommended by chown's manpage.

This fixes the Lintian warnings:
* boca-common: maintainer-script-calls-chown-improperly "chown
  www-data.www-data" [postinst:51]
* boca-web: maintainer-script-calls-chown-improperly "chown -R
  www-data.www-data" [postinst:5]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The maintainer scripts used by boca-common and boca-web used points to
separate the user from its group, which is discouraged. The point has
been replaced with a colon as recommended by chown's manpage.

This fixes the Lintian warnings:
* boca-common: maintainer-script-calls-chown-improperly "chown
  www-data.www-data" [postinst:51]
* boca-web: maintainer-script-calls-chown-improperly "chown -R
  www-data.www-data" [postinst:5]
</pre>
</div>
</content>
</entry>
<entry>
<title>chmods in the postinst</title>
<updated>2018-08-29T13:17:19+00:00</updated>
<author>
<name>cassio</name>
<email>cassiopc@gmail.com</email>
</author>
<published>2018-08-29T13:17:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=b117763dfafeec631c47a8fca6880400c5c6d854'/>
<id>b117763dfafeec631c47a8fca6880400c5c6d854</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>d/boca-{common,db}.postinst: Avoid asking same question on upgrade</title>
<updated>2018-08-24T02:25:23+00:00</updated>
<author>
<name>Bruno Cesar Ribas</name>
<email>brunoribas@gmail.com</email>
</author>
<published>2018-08-24T02:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=9f05ae47d104864162f264fe6415d73797e039bd'/>
<id>9f05ae47d104864162f264fe6415d73797e039bd</id>
<content type='text'>
From now on the user must remove lines containing 'bdserver' or 'bdcreated in
/etc/boca.conf in order to modify the DB password and the DB hostname.

Signed-off-by: Bruno Cesar Ribas &lt;brunoribas@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From now on the user must remove lines containing 'bdserver' or 'bdcreated in
/etc/boca.conf in order to modify the DB password and the DB hostname.

Signed-off-by: Bruno Cesar Ribas &lt;brunoribas@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>d/boca-common.{postinst,templates}: Adds new postinst</title>
<updated>2018-08-23T14:31:42+00:00</updated>
<author>
<name>Bruno Cesar Ribas</name>
<email>brunoribas@gmail.com</email>
</author>
<published>2018-08-23T14:31:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.devlucas.me/boca.git/commit/?id=9afc0704ec837e6b3ef584ce0e66528b8a2cfa10'/>
<id>9afc0704ec837e6b3ef584ce0e66528b8a2cfa10</id>
<content type='text'>
This version will prompt user for a DB hostname and password

Signed-off-by: Bruno Cesar Ribas &lt;brunoribas@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This version will prompt user for a DB hostname and password

Signed-off-by: Bruno Cesar Ribas &lt;brunoribas@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
