<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged github</title>
<link>https://ask.clojure.org/index.php/tag/github</link>
<description></description>
<item>
<title>Artifacts / SHA256 updated on August 26th</title>
<link>https://ask.clojure.org/index.php/13351/artifacts-sha256-updated-on-august-26th</link>
<description>&lt;p&gt;Hello Clojure community &lt;/p&gt;
&lt;p&gt;I'm one of the Java buildpacks maintainers and we recently discovered a discrepancy in the releases for this repository: &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/clojure/brew-install/&quot;&gt;https://github.com/clojure/brew-install/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The issue is that releases artifacts seem to have been republished / repushed after their initial release, effectively overwriting tags and artifacts attached to it; but since the &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/paketo-buildpacks/clojure-tools/&quot;&gt;paketo buildpack for clojure&lt;/a&gt; rely on SHA256 signatures to make sure the archive is the one that we expected, it basically broke them.&lt;/p&gt;
&lt;p&gt;For example, let's take release 1.11.1.1347 as an example.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;in the &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/clojure/brew-install/releases/tag/1.11.1.1347&quot;&gt;clojure/brew-install/&lt;/a&gt; repository,  we can sha256 the archive (&lt;code&gt;shasum -a 256 ~/Downloads/linux-install-1.11.1.1347.sh&lt;/code&gt;) to &lt;code&gt;73a780bac41fc43ac624973f4f6ac4e46f293fe25aa43636b477bcc9ce2875de&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Weirdly enough though, this release dates back to August 26 whereas the commit was done on May 31st &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;on the other hand, the Paketo team &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/paketo-buildpacks/clojure-tools/blob/18fb44bc2eb62099cd17c53a8a548173451d5a80/buildpack.toml#L80&quot;&gt;has a different sha&lt;/a&gt; for the same script &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We believe the user named &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/puredanger&quot;&gt;puredanger&lt;/a&gt; has mass-overwritten Github releases, potentially changing content of the published releases, on August 26th; the reason to think this is to look at &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/clojure/brew-install/releases?page=2&quot;&gt;this releases page&lt;/a&gt; where all older releases (&amp;lt;1360) were updated&lt;/p&gt;
&lt;p&gt;We just wanted to make sure this issue was known and, if possible, would not happen frequently since it can break downstream redistribution channels, such as Paketo buildpacks. (we just updated and released to one of the latest clojure release, but users set on older versions could be impacted)&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
</description>
<category>Meta</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13351/artifacts-sha256-updated-on-august-26th</guid>
<pubDate>Tue, 03 Oct 2023 19:38:50 +0000</pubDate>
</item>
<item>
<title>How do i install Clojure on my Windows OS Laptop?</title>
<link>https://ask.clojure.org/index.php/12283/how-do-i-install-clojure-on-my-windows-os-laptop</link>
<description>&lt;p&gt;I need help on how to install and use my Clojure on my Windows Operating system.&lt;/p&gt;
</description>
<category>Clojure</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/12283/how-do-i-install-clojure-on-my-windows-os-laptop</guid>
<pubDate>Tue, 04 Oct 2022 23:04:29 +0000</pubDate>
</item>
<item>
<title>I have found a program written in Clojure on Github. I want to run it on windows, how do that please?</title>
<link>https://ask.clojure.org/index.php/10031/have-found-program-written-clojure-github-windows-that-please</link>
<description>&lt;p&gt;Hi, I have NO programming experience at all, so would appreciate any help.&lt;/p&gt;
&lt;p&gt;I downloaded a program written in Clojure from GitHub and want to run it on my Windows 10 laptop. It was in a zipped file and I unzipped it. The folder contains many elements, including  .iml and.clj files&lt;/p&gt;
&lt;p&gt;I obtained Clojure for windows via &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.org&quot;&gt;https://clojure.org&lt;/a&gt; and successfully installed it.&lt;/p&gt;
&lt;p&gt;I then tried to run the program via Windows power Shell but I can't get it to start. &lt;/p&gt;
&lt;p&gt;Any advice on this, please?&lt;/p&gt;
&lt;p&gt;Thank you. &lt;/p&gt;
</description>
<category>Clojure</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/10031/have-found-program-written-clojure-github-windows-that-please</guid>
<pubDate>Mon, 11 Jan 2021 18:34:25 +0000</pubDate>
</item>
<item>
<title>No credentials found: deploying Clojars using a Github Workflow (Actions).</title>
<link>https://ask.clojure.org/index.php/9049/credentials-found-deploying-clojars-github-workflow-actions</link>
<description>&lt;p&gt;For some reason that I can't find, it's impossible for me to deploy Clojars using Github Actions. This is my script where I perform the action.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  - name: Deploy clojars
      run: |
        mkdir ~/.lein
        echo '{:user {} :auth {:repository-auth{#&quot;clojars&quot; {:username &quot;${{ secrets.CLOJARS_USERNAME }}&quot; :password &quot;${{ secrets.CLOJARS_PASSWORD }}&quot; :sign-releases false }}}}' &amp;gt; ~/.lein/profiles.clj
        lein deploy clojars
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;He's always telling me he can't find the credentials.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;No credentials found for clojars
    See `lein help deploying` for how to configure credentials to avoid prompts.
    Username: LEIN IS UNABLE TO TURN OFF ECHOING, SO THE PASSWORD IS PRINTED TO THE CONSOLE
    Password: Created /home/runner/work/tadam-core/tadam-core/target/tadam-core-0.3.0.jar
    Wrote /home/runner/work/tadam-core/tadam-core/pom.xml
    Need to sign 2 files with GPG
    [1/2] Signing /home/runner/work/tadam-core/tadam-core/target/tadam-core-0.3.0.jar with GPG
    gpg: directory '/home/runner/.gnupg' created
    gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
    gpg: no default secret key: No secret key
    gpg: signing failed: No secret key
    Could not sign /home/runner/work/tadam-core/tadam-core/target/tadam-core-0.3.0.jar
    gpg: directory '/home/runner/.gnupg' created
    gpg: keybox '/home/runner/.gnupg/pubring.kbx' created
    gpg: no default secret key: No secret key
    gpg: signing failed: No secret key
    
    
    See `lein help gpg` for how to set up gpg.
    If you don't expect people to need to verify the authorship of your jar, you
    can add `:sign-releases false` to the relevant `:deploy-repositories` entry.
    ##[error]Process completed with exit code 1.
&lt;/code&gt;&lt;/pre&gt;
</description>
<category>Tools</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9049/credentials-found-deploying-clojars-github-workflow-actions</guid>
<pubDate>Tue, 21 Jan 2020 15:43:33 +0000</pubDate>
</item>
</channel>
</rss>