<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Automating Git Profile creation is SAS Studio in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/768527#M23059</link>
    <description>Update: On Windows, this file can be edited and the results are immediately visible in SAS/Studio. However on Linux (Viya platform) there seems to be some other process happening.</description>
    <pubDate>Mon, 20 Sep 2021 10:41:13 GMT</pubDate>
    <dc:creator>RichardP</dc:creator>
    <dc:date>2021-09-20T10:41:13Z</dc:date>
    <item>
      <title>Automating Git Profile creation is SAS Studio</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/766851#M23020</link>
      <description>&lt;P&gt;Background:&lt;BR /&gt;We are installing SAS 9.4M7 Office Analytics at a new SAS customer.&lt;/P&gt;&lt;P&gt;They will be using SAS Studio as their main SAS application in a totally Windows environment.&lt;/P&gt;&lt;P&gt;They work in the Pharmaceutical / Medicines sector, so all the work has to be GxP compliant, pre-documented, automated as much as possible, etc.&lt;/P&gt;&lt;P&gt;They are also starting to use GitHub Enterprise as their Version Control System. They will be making use of the SSH features available in GitHub for connections.&lt;/P&gt;&lt;P&gt;They make use of Active Directory (AD) and LDAP. So all the people that will have SAS access are in certain AD groups. Some of these people will also be in AD groups that let them have GitHub access.&lt;/P&gt;&lt;P&gt;We will be providing them with an AD-Sync program that will create/maintain SAS profiles.&lt;/P&gt;&lt;P&gt;We are familiar with how Git profiles can be manually set up in SAS Studio, with an email ID plus Public and Private Keys.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question:&lt;BR /&gt;Is it possible to automate the creation of these, per user, Git Profiles within SAS Studio?&lt;BR /&gt;If so then does anyone have working examples of this functionality being used in their AD-Sync programs?&lt;BR /&gt;&lt;BR /&gt;Thanks !!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 14:00:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/766851#M23020</guid>
      <dc:creator>MartinDoughty</dc:creator>
      <dc:date>2021-09-09T14:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Git Profile creation is SAS Studio</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/767067#M23022</link>
      <description>Looks like these are stored in the user's home directory under ~/.sasstudio/state/sasstudio.GitSettings.key which is a JSON file, so it seems like something that could be automated with access to their home directories (i.e. root). You could in SAS code build the JSON and create the file but you'd probably need sudo to stage it.</description>
      <pubDate>Fri, 10 Sep 2021 16:21:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/767067#M23022</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-09-10T16:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Git Profile creation is SAS Studio</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/768525#M23057</link>
      <description>&lt;P&gt;I discovered that after deleting this &lt;SPAN&gt;GitSettings.key I can still see my existing profiles in SAS / Studio. Logging off and back on will not recreate this file. I can also create new profiles and clone repositories and still this files is not created. It would appear SAS is also storing this information somewhere else.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 10:03:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/768525#M23057</guid>
      <dc:creator>RichardP</dc:creator>
      <dc:date>2021-09-20T10:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Git Profile creation is SAS Studio</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/768527#M23059</link>
      <description>Update: On Windows, this file can be edited and the results are immediately visible in SAS/Studio. However on Linux (Viya platform) there seems to be some other process happening.</description>
      <pubDate>Mon, 20 Sep 2021 10:41:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/768527#M23059</guid>
      <dc:creator>RichardP</dc:creator>
      <dc:date>2021-09-20T10:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Git Profile creation is SAS Studio</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/768537#M23061</link>
      <description>I suspect the file was opened and remains open prior to deletion, so while deleting it removed is descriptor (name/path) the file wouldn't be fully inaccessible until the process holding the file open ends, so Studio is still able to read and write to the file. This is how Linux file systems handle files, and would explain why the behavior is different in Windows. This should not impact the question of how to stage these profiles though.</description>
      <pubDate>Mon, 20 Sep 2021 12:19:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/768537#M23061</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2021-09-20T12:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Automating Git Profile creation is SAS Studio</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/768541#M23064</link>
      <description>&lt;P&gt;aha this makes perfect sense. Thankyou!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Sep 2021 12:31:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Automating-Git-Profile-creation-is-SAS-Studio/m-p/768541#M23064</guid>
      <dc:creator>RichardP</dc:creator>
      <dc:date>2021-09-20T12:31:28Z</dc:date>
    </item>
  </channel>
</rss>

