<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6595&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Seeking feedback on scripts]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6595</link>
		<description><![CDATA[The most recent posts in Seeking feedback on scripts.]]></description>
		<lastBuildDate>Mon, 13 May 2024 19:04:06 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Seeking feedback on scripts]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=49923#p49923</link>
			<description><![CDATA[<p>took a look at the pipewire setup, left a suggestion in an issue.</p><p>honestly as sad as it may seem the devuan forum is not a good place to get feedback on software you are writing on principle of barely getting feedback for one reason or another.</p>]]></description>
			<author><![CDATA[dummy@example.com (EDX-0)]]></author>
			<pubDate>Mon, 13 May 2024 19:04:06 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=49923#p49923</guid>
		</item>
		<item>
			<title><![CDATA[Re: Seeking feedback on scripts]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=49862#p49862</link>
			<description><![CDATA[<div class="quotebox"><cite>delgado wrote:</cite><blockquote><div><p>I saw a little something: Files in &quot;/etc/apt/preferences.d/&quot; need to have the extension &quot;.pref&quot;. Otherwise apt ignores them and complains.</p></div></blockquote></div><p>Inaccurate.</p><p>Files only <em>need</em> to end in <span class="bbc">.pref</span> if there is another <span class="bbc">.</span> in the filename, but it is acceptable to have no extension.</p><p>Also, it is not guaranteed Apt will complain - if a file is called <span class="bbc">something.disabled</span> or <span class="bbc">something.bak</span> it will be ignored without complaint.</p><div class="quotebox"><cite>man apt_preferences wrote:</cite><blockquote><div><p>Note that the files in the /etc/apt/preferences.d directory are parsed in alphanumeric ascending order and need to obey the following naming convention: <strong>The files have either no or &quot;pref&quot; as filename extension</strong> and only contain alphanumeric, hyphen (-), underscore (_) and period (.) characters. Otherwise APT will print a notice that it has ignored a file, unless that file matches a pattern in the Dir::Ignore-Files-Silently configuration list - in which case it will be silently ignored.</p></div></blockquote></div><div class="quotebox"><cite>man apt.conf wrote:</cite><blockquote><div><p>The Ignore-Files-Silently list can be used to specify which files APT should silently ignore while parsing the files in the fragment directories. Per default a file which ends with .disabled, ~, .bak or .dpkg-[a-z]+ is silently ignored. As seen in the last default value these patterns can use regular expression syntax.</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (boughtonp)]]></author>
			<pubDate>Tue, 07 May 2024 21:34:05 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=49862#p49862</guid>
		</item>
		<item>
			<title><![CDATA[Re: Seeking feedback on scripts]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=49859#p49859</link>
			<description><![CDATA[<p>Thank you for the advice! Much appreciated.</p>]]></description>
			<author><![CDATA[dummy@example.com (lavenderu)]]></author>
			<pubDate>Tue, 07 May 2024 20:10:07 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=49859#p49859</guid>
		</item>
		<item>
			<title><![CDATA[Re: Seeking feedback on scripts]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=49852#p49852</link>
			<description><![CDATA[<p>Welcome!</p><p>I saw a little something: Files in &quot;/etc/apt/preferences.d/&quot; need to have the extension &quot;.pref&quot;. Otherwise apt ignores them and complains.</p>]]></description>
			<author><![CDATA[dummy@example.com (delgado)]]></author>
			<pubDate>Tue, 07 May 2024 18:03:33 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=49852#p49852</guid>
		</item>
		<item>
			<title><![CDATA[Re: Seeking feedback on scripts]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=49847#p49847</link>
			<description><![CDATA[<p>Line 3 of the first script has a syntax error.</p><p><a href="https://www.shellcheck.net/" rel="nofollow">ShellCheck</a> is an essential tool for people writing shell scripts.</p><p>Comments are easier to read when there&#039;s a space after the hash.</p><p>Don&#039;t assume you know where the script is running from.</p><p>Don&#039;t use <span class="bbc">&quot;../.config/whatever&quot;</span> - use <span class="bbc">&quot;$XDG_CONFIG_HOME/whatever&quot;</span>. (If the variable might not be defined, you can use <span class="bbc">: ${XDG_CONFIG_HOME:=$HOME/.config}</span> to fix that.)</p><p>iptables is deprecated. I&#039;m pretty certain Devuan comes with nftables pre-installed.</p><p>Blindly downloading and executing an online script is never a great idea, but you don&#039;t even check if it works before continuing.</p><p>Actually, there&#039;s several examples in both scripts where you assume previous commands will work, but do not verify that they have.</p>]]></description>
			<author><![CDATA[dummy@example.com (boughtonp)]]></author>
			<pubDate>Tue, 07 May 2024 14:45:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=49847#p49847</guid>
		</item>
		<item>
			<title><![CDATA[Seeking feedback on scripts]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=49842#p49842</link>
			<description><![CDATA[<p>Hi! I&#039;ve used GNU/Linux for about three years and never really done much programming - I&#039;ve used command-line programs, but never really coded or anything. I have always loved the operating system for the freedom it has brought me.</p><p>I was looking for some feedback on some shell scripts - they&#039;re rather short. I&#039;ve written two - one to make Mullvad VPN work on Devuan through OpenRC or SysVInit and one that automatically installs Pipewire and blocks Pulseaudio installation.</p><p>I know people might not be familiar (esp. with Mullvad), but I was wondering if anyone could have a quick look over them and give me their opinion.</p><p><a href="https://github.com/arkhiwarkhi/Pipewire-on-Devuan/blob/main/install-pipewire.sh" rel="nofollow">https://github.com/arkhiwarkhi/Pipewire … ipewire.sh</a><br /><a href="https://github.com/arkhiwarkhi/Mullvad-VPN-Devuan/blob/master/install-mullvad.sh" rel="nofollow">https://github.com/arkhiwarkhi/Mullvad- … mullvad.sh</a></p><p>Thanks for any commentary <img src="https://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (lavenderu)]]></author>
			<pubDate>Tue, 07 May 2024 09:14:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=49842#p49842</guid>
		</item>
	</channel>
</rss>
