<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by R.E.M. on Medium]]></title>
        <description><![CDATA[Stories by R.E.M. on Medium]]></description>
        <link>https://medium.com/@docunnid?source=rss-279eee9a84f3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*miUrNSrOjus75spbpusCNw.png</url>
            <title>Stories by R.E.M. on Medium</title>
            <link>https://medium.com/@docunnid?source=rss-279eee9a84f3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 02:22:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@docunnid/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Azure Repos: git branching with a provisioned wiki]]></title>
            <link>https://medium.com/@docunnid/azure-repos-git-branching-with-a-provisioned-wiki-c1021bbe2799?source=rss-279eee9a84f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1021bbe2799</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[azure-repos]]></category>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[wiki]]></category>
            <dc:creator><![CDATA[R.E.M.]]></dc:creator>
            <pubDate>Tue, 17 Jan 2023 16:57:44 GMT</pubDate>
            <atom:updated>2025-11-27T10:53:55.984Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Azure DevOps supplies two types of wikis: published and provisioned. The former is a transparent part of Azure Repos and adheres to a regular git approach. The provisioned wiki, however, is a bit of an odd duck. It does allow you to use git branching but the documentation on that is scarce, and the user interface is not very clear. So, my team set off on a little quest for clarity.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pN--S2h2WewB6Neh0tWhwA.jpeg" /></figure><p><strong>Our challenge<br></strong>Can we develop a provisioned wiki much like we develop our code with a branching strategy (GitHub Flow) and related Repository and Branch Policies in place?</p><p><strong>The rationale <br></strong>We are using a published wiki for developer documentation, keeping our docs as close to the code as possible. Plus, we are using the provisioned wiki for user documentation, keeping it as far away from the code as possible 🙃</p><p>In addition, we have a number of Repository and Branch Policies in place, safeguarding our development efforts. Apparently these policies also apply to the provisioned wiki. For example: Having a policy on the default branch with “Check for comment resolution” set to Required prohibits unencumbered pushing not only to repositories, but also to the default branch (wikiMaster) of a provisioned wiki. Which is exactly what we want.</p><p>Now, how do we go about our regular git branching strategy? Creating pull requests for a provisioned wiki and reviewing them before merging with the main branch?</p><p><strong>Our approach<br></strong>The Azure DevOps browser user interface (BUI) does not offer a very smooth user experience for developing a provisioned wiki, and there is also not much info to be found on it. However, the whole .wiki repository pretty much works like any other repository - albeit with a little quirk.</p><p>After cloning a provisioned repository via git clone git@ssh.dev.azure.com:v3/{organization}/{project}{project}.wiki we end up with a local repository called {project}.wiki and a default branch called wikiMaster. After which we cangit branch {feature_branch} and git add . &amp;&amp; git commit -m “update user documentation” &amp;&amp; git push --set-upstream origin {feature_branch} on it and head over to our browser.</p><p>However the .wiki repo is nowhere to be found or selected in the Azure Repos menu. Menu items like Branches and Pull requests for the provisioned wiki can only be reached by editing the URL from <strong>…/_git/&lt;repo&gt;/pullrequests…</strong> to <strong>…/_git/&lt;repo.wiki&gt;/pullrequests…</strong></p><p>Once we’ve edited the URL we can use the Azure Repos menu as usual, to some extent. The menu will redirect us to a regular repo URL if we’re not watching 😉</p><figure><img alt="Azure Repos &gt; Pull requests menu item on a provisioned wiki" src="https://cdn-images-1.medium.com/max/1024/1*fu6GbKrOtB9Grjo4oHs7xQ.png" /><figcaption>Azure Repos &gt; Pull requests menu item on a provisioned wiki</figcaption></figure><p>As a basic solution we bookmarked the provisioned wiki URL in our browsers:</p><blockquote>https://dev.azure.com/{organization}/{project}/_git/{project}.wiki/pullrequests</blockquote><p>Some of us use the CLI to get to the right URL by using the--open flag.az repos pr create --openwill create a pull request and open it in a browser. Furthermore, az repos pr list --output table will show you the pull requests and az repos pr show --id {id} --open will show a existing pull request in a browser. Note: The — open flag is handy to find the URL of the provisioned wiki, but not specific to it.</p><p><strong>Quirk<br></strong>The provisioned wiki is strangely interwoven into Azure Repos but it works. Our next step is to figure out how to separate access (public for the provisioned wiki, private for the published one)… 🤔</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1021bbe2799" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CI/CD with ENV-less pipelines]]></title>
            <link>https://medium.com/@docunnid/ci-cd-with-env-less-pipelines-c52d941b8e86?source=rss-279eee9a84f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c52d941b8e86</guid>
            <category><![CDATA[environment]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[cicd]]></category>
            <dc:creator><![CDATA[R.E.M.]]></dc:creator>
            <pubDate>Sat, 23 Apr 2022 17:47:21 GMT</pubDate>
            <atom:updated>2022-04-29T08:13:05.919Z</atom:updated>
            <content:encoded><![CDATA[<p>A wise man once said: “There is only one place where code lives and that is in Production”. And indeed, Production is the only environment where code gets battle-tested. Production is the place where you’ll receive unfiltered feedback and experience unforeseen problems.</p><p>This is not to say that environments like Development, Test and/or Acceptance (DTA) are less important, but their only goal is to help us get resilient code into Production as fast as we can. One of the better practices for accomplishing that is ensuring code and environment always act the same. Although the outcome of our code may differ per environment, the execution paths of the code should not differ just because it is running in a different environment. Once you start using if/else statements based on environments (think var ENV), you are setting yourself up for a lot of additional work.</p><p>That general principle goes for continuous integration and continuous delivery/deployment (CI/CD) too. When pipelines always execute the same code, regardless of environment, you can be sure that moving through DTA closely resembles Production.</p><h4>Challenge: var ENV</h4><pre>if [ $ENV == &quot;DEV&quot; ]; <br>then<br>  # do something<br>elif [ $ENV == &quot;TST&quot; ]; <br>then<br>  # do something that is (slightly) different then DEV<br>elif [ $ENV == &quot;ACC&quot; ]; <br>then<br>  # do something that is (slightly) different then DEV or TST<br>else  <br>  # do something that is (slightly) different then DEV, TST or ACC<br>fi</pre><p>Does this look familiar? By branching an execution path based on a variable that embodies the environment (‘the context’) we diverge in each environment from what should happen/happens in Production.</p><p>Bear in mind that this example above️ is obvious, and recognising such a construct is easy. But pipeline configurations can get very long and complex, and it is not always clear at a glance that the configuration contains duplicate-but-different execution paths. Even a simple pipeline configuration might obfuscate that we have in fact have dragged <strong>the context</strong> into the code.</p><p>In the example below we also created not one, but four flows. One for each environment. During our DTA staging we never experience the same flow as the one that will run in Production. Don’t Repeat Yourself (DRY) suddenly seems like sound advice! ⬇️</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Y4QBXH_YRHlyWTAtHYFIpg.png" /><figcaption>Multiple execution paths (one per environment)</figcaption></figure><p><strong>Rationale: var ENV</strong></p><p>There are a number of pitfalls when taking the “environmental” (a variable designating the environment) approach. You will need to maintain a number of different flows: one for each environment, and a multitude of variables. The differences might be small — like variables named per environment — but they are indicators that you are repeating yourself and writing/maintaining the same code with slight variations per environment.</p><pre>${DEVDBINSTANCE} ${TSTDBINSTANCE} ${ACCDBINSTANCE} ${PRDDBINSTANCE}</pre><p>The fact that all flows reside in one configuration file doesn’t mean you have just one flow to maintain and you will likely encounter challenges when promoting to Production, since you have not tested the exact flow that will end up there.</p><blockquote>Tip: A code minimap in your favourite editor might give you a first indication of repetitive patterns in your code.</blockquote><p>Okay, so naming variables according to environment, or coding logic according to environment might not be a smart thing to do. Then what?</p><p>We still have DTAP to consider and we cannot use the same values for each environment. A compute instance with identifier i-97d76d0f<strong> </strong>in DEV is unlikely to exist in TST (assuming these environments are separated in one way or another).</p><h4>Solution: Context, context, context</h4><p>The solution is as simple as it is eloquent: Make sure the pipeline doesn’t care in which environment it is running. Yes, that’s right! Just let it always execute the same code. Always. And independent of the environment. The outcome will be determined by the context the pipeline is running in.</p><p>So…how does that work? Well, it depends on how you designed your environments. Let’s go with an example of four environments (DTAP), and let’s say we used the free IAM boundary provided by an AWS account provides. In other words: We have an AWS account per environment.</p><p>Since we already designated an account as Development, everything that runs in there can be considered Development. <strong>The context here is the AWS account</strong> and there is no need to tell anything in there it is running in Development. So if we were to use an self-hosted Runner (GitLab) or Agent (Azure DevOps Services) we would not need to specify that it runs in Development because that is already established by the account.</p><p>Everything the pipelines configuration tells the agent/runner to do will automatically be (in) the context Development. The pipeline just runs and neither the pipeline nor the runner knows - or cares - in which environment it runs.</p><blockquote>Notice the absence of <strong>any</strong> variable denoting environment in the configuration ⬇️</blockquote><figure><img alt="ENV-less pipeline" src="https://cdn-images-1.medium.com/max/1024/1*vLrpmy49_T0gKKgSssuUZw.png" /><figcaption>ENV-less pipeline configuration</figcaption></figure><p>We can run in this configuration in every environment we want and never have to worry about it doing different things, the code (execution) always acts the same and it gives us great confidence when moving to Production. We never have to juggle with naming variables for environments and such!</p><p><strong>But, but…how?</strong></p><p>How does the job gets to run int to the right environment you might ask? This is where Agent pools (Azure DevOps Services) shine. Below we created an Agent pool for each environment.️</p><figure><img alt="Agent pools" src="https://cdn-images-1.medium.com/max/604/1*g7Rx3Im0aL1NIKV-h3rCNA.png" /><figcaption>Agent pool per environment</figcaption></figure><p>Then we created pipeline casings per environment for each configuration, and connect the pipeline casing to an Agent pool.️</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*O7Vgu-zjgkraDBMyvotyhQ.png" /><figcaption>Connect pipeline to a specific context</figcaption></figure><blockquote>Notice the configuration (file) does not change!</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*PJhk_F2rqtwk13hWhnkf-A.png" /><figcaption>Connect pipeline to a specific context</figcaption></figure><p>To round things off, we created a folder structure for our pipelines ⬇️</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/223/1*9fvSV3ji20buOOefB8xuSg.png" /></figure><p>And there you have it!</p><p>This can all be accomplished with standard Azure DevOps functionality, so there’s no need to be going down a rabbit hole for this. Easy does it!</p><p>Interested in more about ENV-less CI/CD? Just Respond ⬇️</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c52d941b8e86" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three steps to an effective and self-sustaining FAQ]]></title>
            <link>https://medium.com/@docunnid/three-steps-to-an-effective-and-self-sustaining-faq-e6ba340b1236?source=rss-279eee9a84f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6ba340b1236</guid>
            <category><![CDATA[faq]]></category>
            <dc:creator><![CDATA[R.E.M.]]></dc:creator>
            <pubDate>Tue, 12 Apr 2022 11:06:00 GMT</pubDate>
            <atom:updated>2025-11-27T10:59:30.685Z</atom:updated>
            <content:encoded><![CDATA[<p>A list of <em>frequently asked questions</em> (FAQ) can be a useful means of organising information, regardless of whether the questions are actually asked frequently. However, setting up a useful FAQ can be difficult. In this article, we’ll look at an example case of how you can create a self-sustaining FAQ for your organisation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*y69JygRffvrMIrgNKpazEQ.png" /></figure><p>Let’s assume you’re part of a decent-sized team supporting a product or process within your medium-sized or large enterprise. Your team members are receiving questions from all directions, mostly via email. Their answers are going back out in all directions too. In general, it is hard to keep track of who’s asking and answering what, to whom.</p><p>Some may benefit from this dispersed approach, but it is far more useful to share the knowledge with many people simultaneously. That can be rather difficult using personal mailboxes.</p><p>We take Step Zero of a maturing Q&amp;A process: The Group Mailbox.</p><h4>Step Zero — The Group Mailbox</h4><p>The group mailbox seems like a good idea at first. Questions will arrive in one place, answers will leave from the same place and all team members have access to the same data (NOT information, there is a difference!). However, it has some disadvantages: the team will need a process to signal questions actively worked on or already answered. They may start moving messages to specific folders, flagging them, colour-coding or labelling them. This can present drawbacks: everything is based on the discipline of each team member and is therefore open to human error.</p><p>Email is often 1-1 communication, so unless you include everyone interested in each email the knowledge will remain dispersed. In addition, different teams may choose different ways of working. As soon as a team member moves to another team, they will encounter another way of working.</p><p>When the team wishes to capitalise on the Q&amp;A data by creating information from it, they will need to analyse which questions and answers appear multiple times. This can be difficult to spot when the Q&amp;A data is spread throughout individual emails.</p><p>As a result, the group mailbox approach will not scale well for your organisation. Let’s take Step One: The Collaboration Tool.</p><h4>Step One — The Collaboration Tool</h4><p>The team may decide to use a collaboration tool (such as Discord, MS Teams or Slack) so that Q&amp;A can be shared openly within the company. This solves some of the sharing challenges: not only will questions and answers be visible to all, but people outside the team can also contribute to the Q&amp;A. We have in fact created a “community”.</p><p>However, this will likely not diminish the influx of questions or the outflux of answers because the FAQ depends heavily on the collective memory (and search capabilities) of that community. A question raised a year earlier can still be a valid question, but one would first need to find it.</p><p>“Pinning” questions and/or answers can help, but is arbitrary: who determines what a good question and/or answer is? Keep that last question in mind, it is essential to a useful Q&amp;A process.</p><p>But first: Let’s take Step Two — The Derived Arbitrary FAQ</p><h4>Step Two — The Derived Arbitrary FAQ</h4><p>After a while, the team will realise that many questions and answers repeat over time. A team member could sift through the Q&amp;A and filter the most frequently-asked questions, “translate” into an FAQ and publish in a Wiki, on a Sharepoint, or via GitHub Pages. It is a translation because what the team member writes down as FAQ is derived from the actual questions and thus an arbitrary translation at best.</p><p>Unfortunately, this approach creates a lot of work for a team, as they must maintain the filter mechanism as well as a static FAQ.</p><h4>Step Two and a Half — The Support Ticketing System</h4><p>The team could use a ticketing system, such as Freshdesk or Zendesk, but that is more geared towards a help desk solution and less towards creating a FAQ: it will not help grow a community-driven knowledge base.</p><p>Finally, the team in our case study enters the mature FAQ phase.</p><h4>Step Three — The Organically Grown (and self-sustaining) FAQ</h4><p>Remember the question “Who determines what a good question and/or a good answer is?”</p><p>Questions and answers that are good for the majority of the community is essential to an FAQ. Anyone should be able to easily post questions, upvote a “good” question (rather than repeating it in other words) and downvote a “poor” question. The same goes for answers and users!</p><p>This is where tools such as Stack Overflow for Teams or UserVoice can benefit. After a while frequently asked “good” questions and answers will rise to the top, while others will drift to the bottom and stay out of sight. This results in a dynamic FAQ with minimal effort. No need to duplicate, translate or derive anything: the community decides what is useful and what’s not!</p><h4><strong>So…</strong></h4><p>Do you want results that best fit your query when searching through Q&amp;A? Do you want a knowledge base that fits most — if not all — sizes? You don’t want to spent time sifting through countless arbitrary questions and/or answers?</p><p>Give The Organically Grown (and self-sustaining) FAQ a try. Much like Google’s PageRank algorithm, it will rank questions and answers to get your community the best results. There is a plentitude of tools to start you off!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/921/1*ksRqqX0pL8eNJG00u0xc0A.png" /></figure><p><a href="https://stackoverflow.co/teams/">Stack Overflow for Teams</a>, <a href="https://www.quora.com/">Quora</a>, <a href="https://www.codeproject.com/">CodeProject</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6ba340b1236" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why git commit messages matter]]></title>
            <link>https://medium.com/@docunnid/why-git-commit-messages-matter-693aea080272?source=rss-279eee9a84f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/693aea080272</guid>
            <category><![CDATA[git-commit-messages]]></category>
            <category><![CDATA[commit-messages]]></category>
            <category><![CDATA[git]]></category>
            <category><![CDATA[commit]]></category>
            <dc:creator><![CDATA[R.E.M.]]></dc:creator>
            <pubDate>Fri, 01 Apr 2022 09:00:20 GMT</pubDate>
            <atom:updated>2022-04-01T09:00:20.820Z</atom:updated>
            <content:encoded><![CDATA[<p>We all know and love (or hate) <strong>git</strong>. Not git the term of insult with origins in English denoting an unpleasant, silly, incompetent, annoying, senile, elderly or childish person. But <strong>git</strong> the distributed version-control system for tracking changes in source code during software development.</p><p>The thing we love (or hate) most seems to be writing meaningful commit messages. I mean, come on! Who want’s to clearly describe each and every commit so others can easily understand what the heck is going on? Just read the code, right?</p><h3>Me, myself and I</h3><p>Well, when you’re coding by yourself indeed it doesn’t matter how your commit messages look like. Since you are your own reviewer you can -m “what the commit” till you see blue in the face. But when you are part of a team working on the same codebase, writing meaningful commit messages might actually help productivity.</p><p>Making commit messages read like an outline (<em>a general description or plan showing the essential features of something but not in detail</em>) will help others understand more quickly what the changes are about. This goes for the git flow development style (for example when reviewing a merge/pull request) but just as well for trunk based development (when reading the commit history).</p><h3>A logical unit of work</h3><p>Each commit should represent a logical unit of work, making it a snapshot of the state of the project. Often git commit is (mis)used or (mis)interpreted as a “Save”, leading to a lot of states being captured without clear value or descriptions. A commit message like “Add line 17” doesn’t really denote a useful state change.</p><p>Sometimes you see commits being (mis)used or (mis)interpreted to function as trigger, mostly in continuous integration and continuous delivery/deployment (CI/CD) scenarios, leading to commit messages like this:</p><pre>git log --oneline<br><br>40924fg 1<br>e21ea41 2<br>69fd101 hello<br>1b7e869 hello<br>b490172 f1<br>eddfe8e f1</pre><p>And although a commit message generator like <a href="http://whatthecommit.com/">http://whatthecommit.com/</a> is a good laugh, the jokes grow old really fast when you’re coding on a daily basis.</p><p>A little tedious as it might be, a team is better off writing meaningful commit messages.</p><h3>Use active language (as if you are giving orders to the codebase to change its behaviour)</h3><p>Each commit message should use active language, preferably starting with a verb. For example “add super functionality” instead of “added super functionality. When a reviewer looks at the first message he/she/it consciously or unconsciously registers a sense of change, urgency if you wish. It will make a reviewer pay just that little bit additional attention to the work at hand. It feels like something is happening (“add”) as opposed to something has happened (“added”). Look sharp! is what the brain is thinking for a split second. A small mental switch is flipped.</p><p>Git being git you can do whatever you like locally, creating your own personal commit message mess but consider rebasing all bs messages into something useful when pushing to a remote (or git send-email) that is contributed to by others.</p><h3>Devilish</h3><p>You might wonder: Why put so much emphasis on these details? That’s easy, because the devil is in them. When you’re a regular driver a little throttle lag doesn’t really matter. In fact it often goes unnoticed (depending on how little that little lag is of course). But when you’re a Formula 1 driver the littlest lag is killing and might make the difference between winning and driving a bus.</p><p>Likewise if you want to play in the IT Champions League those commit messages matter.</p><figure><img alt="Why git commit messages matter" src="https://cdn-images-1.medium.com/max/762/0*_9FcqL2jbKDV_ylv" /></figure><h4>“A Best Practice if you please”</h4><p>Consider squeezing the most out of your git commit messages, using a convention. By standardising you can start building a flow around it and leverage the power of automation, for example: automagically generate a CHANGELOG or trigger a(nother) pipeline. Your imagination is the limit.</p><p>Some more reading? Try <a href="https://www.conventionalcommits.org/">Conventional Commits</a>. Or <a href="https://commitizen-tools.github.io/commitizen/">Commitizen</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=693aea080272" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>