<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>User guide on GoCDM</title><link>https://arran4.github.io/gocdm/docs/</link><description>Recent content in User guide on GoCDM</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://arran4.github.io/gocdm/docs/index.xml" rel="self" type="application/rss+xml"/><item><title>Install and select a session</title><link>https://arran4.github.io/gocdm/docs/getting-started/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arran4.github.io/gocdm/docs/getting-started/</guid><description>&lt;h1 id="install-and-select-a-session"&gt;Install and select a session&lt;a class="anchor" href="#install-and-select-a-session" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;You do &lt;strong&gt;not&lt;/strong&gt; need the original CDM application, an &lt;code&gt;/etc/gocdm&lt;/code&gt; directory, or an&#10;external &lt;code&gt;dialog&lt;/code&gt; executable. GoCDM includes its terminal UI and has usable defaults.&#10;A plain &lt;code&gt;go build&lt;/code&gt; or &lt;code&gt;go install&lt;/code&gt; installs a binary; it does not install configuration,&#10;themes, documentation, PAM policy or a login service.&lt;/p&gt;&#10;&lt;h2 id="build-the-development-version"&gt;Build the development version&lt;a class="anchor" href="#build-the-development-version" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;Use Linux, Git and Go 1.22 or newer. A normal build requires a C compiler and PAM&#10;development headers: &lt;code&gt;libpam0g-dev&lt;/code&gt; on Debian/Ubuntu, or your distribution&amp;rsquo;s equivalent.&lt;/p&gt;</description></item><item><title>Start after a normal login</title><link>https://arran4.github.io/gocdm/docs/autostart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arran4.github.io/gocdm/docs/autostart/</guid><description>&lt;h1 id="start-after-a-normal-login"&gt;Start after a normal login&lt;a class="anchor" href="#start-after-a-normal-login" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Use this when your existing &lt;code&gt;login(1)&lt;/code&gt;/getty has already authenticated you. Run&#10;&lt;code&gt;gocdm -mode=user&lt;/code&gt; manually on a virtual console first. A chosen desktop or shell&#10;inherits your user session environment and does not repeat PAM authentication.&lt;/p&gt;&#10;&lt;p&gt;After checking that launch and logout work, add an opt-in block to your login profile:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;if&lt;/span&gt; &lt;span style="color:#f92672"&gt;[&lt;/span&gt; -z &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;&lt;span style="color:#e6db74"&gt;${&lt;/span&gt;GOCDM_SPAWN&lt;span style="color:#66d9ef"&gt;:-&lt;/span&gt;&lt;span style="color:#e6db74"&gt;}${&lt;/span&gt;DISPLAY&lt;span style="color:#66d9ef"&gt;:-&lt;/span&gt;&lt;span style="color:#e6db74"&gt;}${&lt;/span&gt;WAYLAND_DISPLAY&lt;span style="color:#66d9ef"&gt;:-&lt;/span&gt;&lt;span style="color:#e6db74"&gt;}${&lt;/span&gt;SSH_TTY&lt;span style="color:#66d9ef"&gt;:-&lt;/span&gt;&lt;span style="color:#e6db74"&gt;}&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;]&lt;/span&gt; &lt;span style="color:#f92672"&gt;&amp;amp;&amp;amp;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;[&lt;/span&gt; &lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt;&lt;span style="color:#66d9ef"&gt;$(&lt;/span&gt;tty&lt;span style="color:#66d9ef"&gt;)&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;=&lt;/span&gt; /dev/tty1 &lt;span style="color:#f92672"&gt;]&lt;/span&gt;; &lt;span style="color:#66d9ef"&gt;then&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; exec /usr/local/bin/gocdm -mode&lt;span style="color:#f92672"&gt;=&lt;/span&gt;user&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Choose the profile your shell actually reads (&lt;code&gt;~/.profile&lt;/code&gt;, &lt;code&gt;~/.bash_profile&lt;/code&gt;, or&#10;&lt;code&gt;~/.zprofile&lt;/code&gt;). Read the installed &lt;code&gt;profile.sh&lt;/code&gt; example before copying anything;&#10;installation never edits your dotfiles. Keep another VT available for recovery.&#10;The &lt;code&gt;GOCDM_SPAWN&lt;/code&gt; check prevents reentry from a shell launched by GoCDM.&lt;/p&gt;</description></item><item><title>Test as a getty login manager</title><link>https://arran4.github.io/gocdm/docs/login-manager/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arran4.github.io/gocdm/docs/login-manager/</guid><description>&lt;h1 id="test-as-a-getty-login-manager"&gt;Test as a getty login manager&lt;a class="anchor" href="#test-as-a-getty-login-manager" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;This is an opt-in administrator workflow for a &lt;strong&gt;disposable test system&lt;/strong&gt;. The&#10;development branch requires real-system validation before a production deployment.&#10;Keep your existing tty1 login and&#10;another administrator session working throughout the test.&lt;/p&gt;&#10;&lt;p&gt;Use a PAM-enabled binary. Confirm the chosen PAM service exists under &lt;code&gt;/etc/pam.d/&lt;/code&gt;&#10;and that your distribution&amp;rsquo;s policy supplies the intended account checks, session,&#10;logind/elogind and credentials. GoCDM defaults to service &lt;code&gt;login&lt;/code&gt;; use &lt;code&gt;-pam-service&lt;/code&gt;&#10;to select an administrator-provided alternative. Do not copy a permissive policy&#10;or remove an existing authentication requirement to make a test pass.&lt;/p&gt;</description></item><item><title>Configure sessions and appearance</title><link>https://arran4.github.io/gocdm/docs/configuration/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arran4.github.io/gocdm/docs/configuration/</guid><description>&lt;h1 id="configure-sessions-and-appearance"&gt;Configure sessions and appearance&lt;a class="anchor" href="#configure-sessions-and-appearance" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;GoCDM parses &lt;code&gt;cdmrc&lt;/code&gt; data itself; it does not source it as a shell program.&#10;An explicit &lt;code&gt;-config PATH&lt;/code&gt; or positional &lt;code&gt;RCFILE&lt;/code&gt; takes precedence. Supplying both&#10;nonempty forms is an error. Otherwise ordinary user mode searches:&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&lt;code&gt;$HOME/.cdmrc&lt;/code&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;$XDG_CONFIG_HOME/cdm/cdmrc&lt;/code&gt;, or &lt;code&gt;$HOME/.config/cdm/cdmrc&lt;/code&gt; when XDG_CONFIG_HOME is unset&lt;/li&gt;&#10;&lt;li&gt;&lt;code&gt;/etc/cdmrc&lt;/code&gt;&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;In direct getty mode, pre-login settings come from the explicit file or &lt;code&gt;/etc/cdmrc&lt;/code&gt;.&#10;User settings are loaded after authentication under the canonical account&amp;rsquo;s&#10;credentials. Relative user theme paths are resolved against that account&amp;rsquo;s home.&#10;If there is no config, built-in defaults and installed-session discovery apply.&#10;The program does not require &lt;code&gt;/etc/gocdm&lt;/code&gt; and does not create &lt;code&gt;/etc/cdmrc&lt;/code&gt; automatically.&lt;/p&gt;</description></item><item><title>Console, Wayland and X11</title><link>https://arran4.github.io/gocdm/docs/desktops/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arran4.github.io/gocdm/docs/desktops/</guid><description>&lt;h1 id="console-wayland-and-x11"&gt;Console, Wayland and X11&lt;a class="anchor" href="#console-wayland-and-x11" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Install a desktop or shell independently of GoCDM. With no explicit &lt;code&gt;binlist&lt;/code&gt;, GoCDM&#10;looks for user X scripts, user desktop entries, system desktop entries, legacy X11&#10;scripts and shells registered in &lt;code&gt;/etc/shells&lt;/code&gt;.&lt;/p&gt;&#10;&lt;p&gt;A user desktop entry takes precedence over the system entry with the same filename&#10;and session kind. A hidden user override also hides the corresponding system entry.&#10;Different desktop entries can share a display label; their saved identities remain&#10;separate. Discovery order is repeatable, including equal labels. Missing optional&#10;sources are normal; an unreadable source is reported, and invalid desktop entries&#10;produce a diagnostic identifying the file to inspect.&lt;/p&gt;</description></item><item><title>Diagnose a failure</title><link>https://arran4.github.io/gocdm/docs/troubleshooting/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arran4.github.io/gocdm/docs/troubleshooting/</guid><description>&lt;h1 id="diagnose-a-failure"&gt;Diagnose a failure&lt;a class="anchor" href="#diagnose-a-failure" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Record the binary version, build variant, operating system, invocation and smallest&#10;failing config. Development builds use &lt;code&gt;gocdm version&lt;/code&gt;; published v0.0.26 uses&#10;&lt;code&gt;gocdm -version&lt;/code&gt;. Run a noninteractive config check with &lt;code&gt;-dry-run&lt;/code&gt; before changing&#10;login services. Review output for personal information and credentials before sharing.&lt;/p&gt;&#10;&lt;table&gt;&#10;&#9;&lt;thead&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Symptom&lt;/th&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;th&gt;Check and next action&lt;/th&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/thead&gt;&#10;&#9;&lt;tbody&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;requires root privileges&lt;/code&gt; with &lt;code&gt;-login&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;From an already-authenticated shell, use &lt;code&gt;-mode=user&lt;/code&gt;; getty login mode belongs to the administrator&amp;rsquo;s direct console service.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;cannot run inside ... graphical ...&lt;/code&gt; or &lt;code&gt;SSH&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Use user mode in an existing session. Test direct login on a spare real VT.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;interactive TTY&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Launch from an interactive terminal; use &lt;code&gt;-dry-run&lt;/code&gt; only for planning without one.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;conflicting mode flags&lt;/code&gt;&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Select one mode; &lt;code&gt;-login=false&lt;/code&gt; explicitly requests user mode.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;No sessions or a missing desktop&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Install the desktop, check its &lt;code&gt;.desktop&lt;/code&gt; Exec/TryExec and Hidden/NoDisplay fields, or provide aligned config arrays.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;&lt;code&gt;startx&lt;/code&gt; or another required tool missing&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Install the tool appropriate to that session; external &lt;code&gt;dialog&lt;/code&gt; is unnecessary.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Authentication rejected&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Verify a PAM-enabled build and the intended service; inspect the distribution&amp;rsquo;s authentication logs. Preserve account and MFA policy.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Session environment cannot be built&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Check canonical account data and the configured PAM service&amp;rsquo;s environment modules. Put distribution environment settings in PAM policy.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Runtime directory or D-Bus absent&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Check PAM/logind/elogind and the desktop session setup; a directory created by hand is not a replacement for a managed runtime session.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Saved state ownership/symlink refusal&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Inspect &lt;code&gt;~/.config/gocdm&lt;/code&gt; and &lt;code&gt;state.json&lt;/code&gt;; repair only the specific confirmed owner/path after checking for symlinks. GoCDM will not recursively chown the tree.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Home unavailable&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Check the account&amp;rsquo;s home and access rights. The development launcher warns when falling back to &lt;code&gt;/&lt;/code&gt;.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&#9;&#9;&lt;tr&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Login loop&lt;/td&gt;&#10;&#9;&#9;&#9;&#9;&#9;&lt;td&gt;Use the recovery console and follow &lt;a href="../recovery/"&gt;recovery&lt;/a&gt;.&lt;/td&gt;&#10;&#9;&#9;&#9;&lt;/tr&gt;&#10;&#9;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;h2 id="read-preparation-diagnostics"&gt;Read preparation diagnostics&lt;a class="anchor" href="#read-preparation-diagnostics" aria-label="Link"&gt;&lt;/a&gt;&lt;/h2&gt;&#10;&lt;p&gt;On development builds, &lt;code&gt;-debug-env&lt;/code&gt; emits JSON during actual session preparation.&#10;It reports the mode, session kind, numeric account IDs and their source. Known&#10;environment names report presence, duplicates and limited syntax checks; values&#10;and unknown names are withheld. &lt;code&gt;relative_path&lt;/code&gt; or &lt;code&gt;control_characters&lt;/code&gt; can help&#10;locate a malformed setting without printing its contents.&lt;/p&gt;</description></item><item><title>Recover and roll back</title><link>https://arran4.github.io/gocdm/docs/recovery/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arran4.github.io/gocdm/docs/recovery/</guid><description>&lt;h1 id="recover-and-roll-back"&gt;Recover and roll back&lt;a class="anchor" href="#recover-and-roll-back" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Before a login experiment, keep a normal login on tty1 and a separate administrator&#10;session available. Test only a spare VT. Installation does not replace your getty or&#10;modify PAM policy, so rollback should be limited to the changes you opted into.&lt;/p&gt;&#10;&lt;p&gt;For a systemd spare-VT login loop, use the recovery session to stop the experimental&#10;service: &lt;code&gt;sudo systemctl stop getty@tty2.service&lt;/code&gt;. Restore the saved override or&#10;remove only the experimental drop-in. &lt;code&gt;systemctl revert&lt;/code&gt; removes all local overrides&#10;for the named service, so use it only when you have confirmed there is nothing else&#10;to preserve. Reload the daemon and restart the original getty.&lt;/p&gt;</description></item><item><title>Releases, upgrades and Gentoo</title><link>https://arran4.github.io/gocdm/docs/upgrading/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arran4.github.io/gocdm/docs/upgrading/</guid><description>&lt;h1 id="releases-upgrades-and-gentoo"&gt;Releases, upgrades and Gentoo&lt;a class="anchor" href="#releases-upgrades-and-gentoo" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;The &lt;a href="https://github.com/arran4/gocdm/releases"&gt;published releases&lt;/a&gt; currently end at&#10;v0.0.26. That version predates the login repairs and this architecture work. Read&#10;release notes and security status before selecting a binary; a new documentation&#10;site does not imply a new stable release.&lt;/p&gt;&#10;&lt;p&gt;Release assets include Linux amd64 and arm64 archives and package variants.&#10;For packages built from this development tree, choose one PAM or nopam variant;&#10;the native packages share supplemental file paths and declare a mutual conflict. Match&#10;your architecture and PAM requirements. Verify a downloaded asset against the&#10;release&amp;rsquo;s &lt;code&gt;checksums.txt&lt;/code&gt;, inspect archive contents before extracting, and check the&#10;runtime loader/PAM dependencies on your distribution. The build-time CLI generator&#10;is not needed to run an installed GoCDM binary.&lt;/p&gt;</description></item><item><title>Validate a login deployment</title><link>https://arran4.github.io/gocdm/docs/validation/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arran4.github.io/gocdm/docs/validation/</guid><description>&lt;h1 id="validate-a-login-deployment"&gt;Validate a login deployment&lt;a class="anchor" href="#validate-a-login-deployment" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Run real-system checks only on an isolated test machine with a spare VT and test&#10;account. Do not let a script alter your real PAM, getty or shell configuration.&lt;/p&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;Verify ordinary user selection works without a PAM prompt, including post-login autostart.&lt;/li&gt;&#10;&lt;li&gt;In direct getty mode, authenticate using the intended PAM service and confirm account policy, notices and any challenge prompts are honored.&lt;/li&gt;&#10;&lt;li&gt;Select a console shell. Check &lt;code&gt;id&lt;/code&gt;, &lt;code&gt;pwd&lt;/code&gt;, &lt;code&gt;$HOME&lt;/code&gt;, &lt;code&gt;$USER&lt;/code&gt; and &lt;code&gt;$SHELL&lt;/code&gt;; check the expected login startup behavior.&lt;/li&gt;&#10;&lt;li&gt;Select X11 and Wayland separately. Confirm VT, desktop identity, runtime directory, D-Bus and log ownership. On logind systems use &lt;code&gt;loginctl session-status&lt;/code&gt;.&lt;/li&gt;&#10;&lt;li&gt;Log out, inspect session cleanup, then repeat login. Interrupt or cancel where appropriate and verify resources do not remain open.&lt;/li&gt;&#10;&lt;li&gt;Check remembered selection, duplicate session labels, unavailable desktops and permission failures. Confirm denied operations do not change protected files.&lt;/li&gt;&#10;&lt;li&gt;Restore the original getty/profile setup and confirm recovery works.&lt;/li&gt;&#10;&lt;/ol&gt;&#10;&lt;p&gt;For the existing dry-run X11 VT probe, read and manually run&#10;&lt;a href="https://github.com/arran4/gocdm/blob/master/scripts/manual/locktty_xtty_keep_test.sh"&gt;&lt;code&gt;scripts/manual/locktty_xtty_keep_test.sh&lt;/code&gt;&lt;/a&gt;.&#10;It is a diagnostic probe, not proof of successful login or authorization to modify a service.&lt;/p&gt;</description></item><item><title>Contribute and build this site</title><link>https://arran4.github.io/gocdm/docs/contributing/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://arran4.github.io/gocdm/docs/contributing/</guid><description>&lt;h1 id="contribute"&gt;Contribute&lt;a class="anchor" href="#contribute" aria-label="Link"&gt;&lt;/a&gt;&lt;/h1&gt;&#10;&lt;p&gt;Use the &lt;a href="https://github.com/arran4/gocdm/issues"&gt;issue tracker&lt;/a&gt; for bugs and proposals,&#10;and &lt;a href="https://github.com/arran4/gocdm/pulls"&gt;pull requests&lt;/a&gt; for review. Architectural&#10;work and release blockers are tracked there. Keep user guidance here; development&#10;history and implementation reasoning belong in issues and PR descriptions.&lt;/p&gt;&#10;&lt;p&gt;For Go APIs and native embedding, see &lt;a href="https://pkg.go.dev/github.com/arran4/gocdm"&gt;pkg.go.dev&lt;/a&gt;&#10;and the &lt;a href="https://github.com/arran4/gocdm/tree/master/examples/embedding/c"&gt;C embedding example&lt;/a&gt;.&#10;Run normal PAM and nopam tests and race detection when changing application code.&#10;Real filesystem/OS tests must use isolated temporary environments; use embedded&#10;&lt;code&gt;testdata&lt;/code&gt; fixtures for multiline Go test input.&lt;/p&gt;</description></item></channel></rss>