<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.deltav.gay/index.php?action=history&amp;feed=atom&amp;title=Delta-V%3AContribution_guidelines</id>
	<title>Delta-V:Contribution guidelines - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.deltav.gay/index.php?action=history&amp;feed=atom&amp;title=Delta-V%3AContribution_guidelines"/>
	<link rel="alternate" type="text/html" href="https://wiki.deltav.gay/index.php?title=Delta-V:Contribution_guidelines&amp;action=history"/>
	<updated>2026-04-13T15:24:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.deltav.gay/index.php?title=Delta-V:Contribution_guidelines&amp;diff=3632&amp;oldid=prev</id>
		<title>MilonPL: Protected &quot;Delta-V:Contribution guidelines&quot;: High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://wiki.deltav.gay/index.php?title=Delta-V:Contribution_guidelines&amp;diff=3632&amp;oldid=prev"/>
		<updated>2024-11-05T18:21:10Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/view/Delta-V:Contribution_guidelines&quot; title=&quot;Delta-V:Contribution guidelines&quot;&gt;Delta-V:Contribution guidelines&lt;/a&gt;&amp;quot;: High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:21, 5 November 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key deltavwiki:diff:1.41:old-3631:rev-3632 --&gt;
&lt;/table&gt;</summary>
		<author><name>MilonPL</name></author>
	</entry>
	<entry>
		<id>https://wiki.deltav.gay/index.php?title=Delta-V:Contribution_guidelines&amp;diff=3631&amp;oldid=prev</id>
		<title>MilonPL: Created page with &quot;= Delta-V Contributing Guidelines = Generally we follow [https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html upstream&#039;s PR guidelines] for code quality and such. Upstream is the [https://github.com/space-wizards/space-station-14 space-wizards/space-station-14] repository that wizden runs on.  Importantly do not make webedits, copied verbatim from above: &lt;br&gt; &#039;&#039;&#039;Do not use GitHub&#039;s web editor to create PRs. PRs submitted throu...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.deltav.gay/index.php?title=Delta-V:Contribution_guidelines&amp;diff=3631&amp;oldid=prev"/>
		<updated>2024-11-05T18:20:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Delta-V Contributing Guidelines = Generally we follow [https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html upstream&amp;#039;s PR guidelines] for code quality and such. Upstream is the [https://github.com/space-wizards/space-station-14 space-wizards/space-station-14] repository that wizden runs on.  Importantly do not make webedits, copied verbatim from above: &amp;lt;br&amp;gt; &amp;#039;&amp;#039;&amp;#039;Do not use GitHub&amp;#039;s web editor to create PRs. PRs submitted throu...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Delta-V Contributing Guidelines =&lt;br /&gt;
Generally we follow [https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html upstream&amp;#039;s PR guidelines] for code quality and such.&lt;br /&gt;
Upstream is the [https://github.com/space-wizards/space-station-14 space-wizards/space-station-14] repository that wizden runs on.&lt;br /&gt;
&lt;br /&gt;
Importantly do not make webedits, copied verbatim from above: &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Do not use GitHub&amp;#039;s web editor to create PRs. PRs submitted through the web editor may be closed without review.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
= Content specific to Delta-V =&lt;br /&gt;
In general anything you create from scratch (not modifying something that exists from upstream) should go in a DeltaV subfolder.&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;code&amp;gt;Content.Server/DeltaV/Chapel/SacrificialAltarSystem.cs&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;Resources/Prototypes/DeltaV/ai_factions.yml&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;Resources/Audio/DeltaV/Items/gavel.ogg&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;Resources/Textures/DeltaV/Icons/cri.rsi&amp;lt;/code&amp;gt;&lt;br /&gt;
*&amp;lt;code&amp;gt;Resources/Locale/en-US/deltav/shipyard/shipyard-console.ftl&amp;lt;/code&amp;gt;&lt;br /&gt;
** The locale subfolder is lowercase &amp;lt;code&amp;gt;deltav&amp;lt;/code&amp;gt; instead of &amp;lt;code&amp;gt;DeltaV&amp;lt;/code&amp;gt;.&lt;br /&gt;
*&amp;lt;code&amp;gt;Resources/ServerInfo/Guidebook/DeltaV/AlertProcedure.xml&amp;lt;/code&amp;gt;&lt;br /&gt;
** Note that guidebooks go in &amp;lt;code&amp;gt;ServerInfo/Guidebook/DeltaV&amp;lt;/code&amp;gt; and not &amp;lt;code&amp;gt;ServerInfo/DeltaV&amp;lt;/code&amp;gt;!&lt;br /&gt;
&lt;br /&gt;
= Changes to upstream files =&lt;br /&gt;
If you make a change to an upstream C# or YAML file &amp;#039;&amp;#039;&amp;#039;you must add comments on or around the changed lines&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
The comments should clarify what changed, to make conflict resolution simpler when a file is changed upstream.&lt;br /&gt;
&lt;br /&gt;
For YAML specifically, if you add a new component to a prototype add the comment to the &amp;lt;code&amp;gt;type: ...&amp;lt;/code&amp;gt; line.&lt;br /&gt;
If you just modify some fields of a component, comment the fields instead.&lt;br /&gt;
&lt;br /&gt;
For C# files, if you are adding a lot of code try to put it in a partial class when it makes sense.&lt;br /&gt;
&lt;br /&gt;
The exception to this is early merging commits that are going to be cherry picked in the future regardless, there&amp;#039;s no harm in leaving them as-is.&lt;br /&gt;
&lt;br /&gt;
As an aside, fluent (.ftl) files &amp;#039;&amp;#039;&amp;#039;do not support comments on the same line&amp;#039;&amp;#039;&amp;#039; as a locale value, so be careful when changing them.&lt;br /&gt;
== Examples of comments in upstream files ==&lt;br /&gt;
A single line comment on a changed yml field:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
- type: entity&lt;br /&gt;
  parent: BasePDA&lt;br /&gt;
  id: SciencePDA&lt;br /&gt;
  name: epistemics PDA # DeltaV - Epistemics Department replacing Science&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A pair of comments enclosing a list of added items to starting gear:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
  storage:&lt;br /&gt;
    back:&lt;br /&gt;
    - EmergencyRollerBedSpawnFolded&lt;br /&gt;
    # Begin DeltaV additions&lt;br /&gt;
    - BodyBagFolded&lt;br /&gt;
    - Portafib&lt;br /&gt;
    # End DeltaV additions&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A comment on a new imported namespace:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
using Content.Server.Psionics.Glimmer; // DeltaV&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
A pair of comments enclosing a block of added code:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
private EntityUid Slice(...)&lt;br /&gt;
{&lt;br /&gt;
    ...&lt;br /&gt;
&lt;br /&gt;
    _transform.SetLocalRotation(sliceUid, 0);&lt;br /&gt;
&lt;br /&gt;
    // DeltaV - start of deep frier stuff&lt;br /&gt;
    var slicedEv = new FoodSlicedEvent(user, uid, sliceUid);&lt;br /&gt;
    RaiseLocalEvent(uid, ref slicedEv);&lt;br /&gt;
    // DeltaV - end of deep frier stuff&lt;br /&gt;
&lt;br /&gt;
    ...&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Mapping = &lt;br /&gt;
If you want to make changes to a map, get in touch with its maintainer to make sure you don&amp;#039;t both make changes at the same time.&lt;br /&gt;
&lt;br /&gt;
Conflicts with maps make PRs mutually exclusive so either your work on the maintainer&amp;#039;s work will be lost, communicate to avoid this!&lt;br /&gt;
&lt;br /&gt;
= Before you submit =&lt;br /&gt;
&lt;br /&gt;
Double-check your diff on GitHub before submitting: look for unintended commits or changes and remove accidental whitespace or line-ending changes.&lt;br /&gt;
&lt;br /&gt;
Additionally for long-lasting PRs, if you see &amp;lt;code&amp;gt;RobustToolbox&amp;lt;/code&amp;gt; in the changed files you have to revert it, use &amp;lt;code&amp;gt;git checkout upstream/master RobustToolbox&amp;lt;/code&amp;gt; (replacing &amp;lt;code&amp;gt;upstream&amp;lt;/code&amp;gt; with the name of your DeltaV-Station/Delta-V remote)&lt;br /&gt;
&lt;br /&gt;
= Changelogs =&lt;br /&gt;
By default any changelogs goes in the DeltaV changelog, you can use the DeltaV admin changelog by putting &amp;lt;code&amp;gt;DELTAVADMIN:&amp;lt;/code&amp;gt; in a line after &amp;lt;code&amp;gt;:cl:&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Do not use &amp;lt;code&amp;gt;ADMIN:&amp;lt;/code&amp;gt; as &amp;#039;&amp;#039;&amp;#039;it will mangle&amp;#039;&amp;#039;&amp;#039; the upstream admin changelog!&lt;br /&gt;
&lt;br /&gt;
= Additional resources =&lt;br /&gt;
If you are new to contributing to SS14 in general, have a look at the [https://docs.spacestation14.io/ SS14 docs] or ask for help in &amp;lt;code&amp;gt;#contribution-help&amp;lt;/code&amp;gt; on [https://discord.gg/deltav Discord]!&lt;/div&gt;</summary>
		<author><name>MilonPL</name></author>
	</entry>
</feed>