Skip to content

Commit

Permalink
GH-146 Release 2.7.0 (Resolve #146)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzikoysk committed Jul 16, 2020
1 parent 159d043 commit 24ca504
Show file tree
Hide file tree
Showing 19 changed files with 190 additions and 120 deletions.
11 changes: 1 addition & 10 deletions docs/docs/authorization.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,4 @@ <h2><a class="anchor" aria-hidden="true" id="deploy"></a><a href="#deploy" aria-
<p>If you've configured everything correctly, you should be able to deploy artifact using the following command:</p>
<pre><code class="hljs css language-bash">$ mvn deploy
</code></pre>
<h2><a class="anchor" aria-hidden="true" id="full-authentication"></a><a href="#full-authentication" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Full authentication</h2>
<p>If you are not hosting public repository,
you might be looking for an option that disabled indexing of your artifacts:</p>
<pre><code class="hljs css language-properties"><span class="hljs-comment"># Require authentication of all requests (download, head requests)</span>
<span class="hljs-comment"># If you don't want to display content of your repositories,</span>
<span class="hljs-comment"># you can just disable indexing.</span>
<span class="hljs-comment"># This option should be set to 'false', if you are hosting public repository</span>
<span class="hljs-attr">fullAuthEnabled</span>: <span class="hljs-string">false</span>
</code></pre>
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/repositories"><span class="arrow-prev"></span><span>Repositories</span></a><a class="docs-next button" href="/docs/proxy"><span>Proxy</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#access-token">Access token</a><ul class="toc-headings"><li><a href="#generate-token">Generate token</a></li><li><a href="#list-tokens">List tokens</a></li><li><a href="#revoke-tokens">Revoke tokens</a></li></ul></li><li><a href="#deploy">Deploy</a></li><li><a href="#full-authentication">Full authentication</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap center"><div><h5>Guide</h5><a href="/docs/en/about">Getting Started</a><a href="/docs/en/install">Installation</a><a href="/docs/en/indexing">Developer API</a></div><div><h5>Community</h5><a href="https://github.com/dzikoysk/reposilite/issues" target="_blank">Report Issue</a><a href="https://github.com/dzikoysk/reposilite" target="_blank">Star Reposilite</a><a href="https://twitter.com/dzikoysk" target="_blank">Follow @dzikoysk</a></div></section><section class="copyright">Copyright © 2020 dzikoysk with ❤ panda-lang</section></footer></div><script>window.twttr=(function(d,s, id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src='https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js, fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document, 'script', 'twitter-wjs'));</script></body></html>
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/repositories"><span class="arrow-prev"></span><span>Repositories</span></a><a class="docs-next button" href="/docs/proxy"><span>Proxy</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#access-token">Access token</a><ul class="toc-headings"><li><a href="#generate-token">Generate token</a></li><li><a href="#list-tokens">List tokens</a></li><li><a href="#revoke-tokens">Revoke tokens</a></li></ul></li><li><a href="#deploy">Deploy</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap center"><div><h5>Guide</h5><a href="/docs/en/about">Getting Started</a><a href="/docs/en/install">Installation</a><a href="/docs/en/indexing">Developer API</a></div><div><h5>Community</h5><a href="https://github.com/dzikoysk/reposilite/issues" target="_blank">Report Issue</a><a href="https://github.com/dzikoysk/reposilite" target="_blank">Star Reposilite</a><a href="https://twitter.com/dzikoysk" target="_blank">Follow @dzikoysk</a></div></section><section class="copyright">Copyright © 2020 dzikoysk with ❤ panda-lang</section></footer></div><script>window.twttr=(function(d,s, id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src='https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js, fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document, 'script', 'twitter-wjs'));</script></body></html>
11 changes: 1 addition & 10 deletions docs/docs/authorization/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,13 +156,4 @@ <h2><a class="anchor" aria-hidden="true" id="deploy"></a><a href="#deploy" aria-
<p>If you've configured everything correctly, you should be able to deploy artifact using the following command:</p>
<pre><code class="hljs css language-bash">$ mvn deploy
</code></pre>
<h2><a class="anchor" aria-hidden="true" id="full-authentication"></a><a href="#full-authentication" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Full authentication</h2>
<p>If you are not hosting public repository,
you might be looking for an option that disabled indexing of your artifacts:</p>
<pre><code class="hljs css language-properties"><span class="hljs-comment"># Require authentication of all requests (download, head requests)</span>
<span class="hljs-comment"># If you don't want to display content of your repositories,</span>
<span class="hljs-comment"># you can just disable indexing.</span>
<span class="hljs-comment"># This option should be set to 'false', if you are hosting public repository</span>
<span class="hljs-attr">fullAuthEnabled</span>: <span class="hljs-string">false</span>
</code></pre>
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/repositories"><span class="arrow-prev"></span><span>Repositories</span></a><a class="docs-next button" href="/docs/proxy"><span>Proxy</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#access-token">Access token</a><ul class="toc-headings"><li><a href="#generate-token">Generate token</a></li><li><a href="#list-tokens">List tokens</a></li><li><a href="#revoke-tokens">Revoke tokens</a></li></ul></li><li><a href="#deploy">Deploy</a></li><li><a href="#full-authentication">Full authentication</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap center"><div><h5>Guide</h5><a href="/docs/en/about">Getting Started</a><a href="/docs/en/install">Installation</a><a href="/docs/en/indexing">Developer API</a></div><div><h5>Community</h5><a href="https://github.com/dzikoysk/reposilite/issues" target="_blank">Report Issue</a><a href="https://github.com/dzikoysk/reposilite" target="_blank">Star Reposilite</a><a href="https://twitter.com/dzikoysk" target="_blank">Follow @dzikoysk</a></div></section><section class="copyright">Copyright © 2020 dzikoysk with ❤ panda-lang</section></footer></div><script>window.twttr=(function(d,s, id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src='https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js, fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document, 'script', 'twitter-wjs'));</script></body></html>
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/repositories"><span class="arrow-prev"></span><span>Repositories</span></a><a class="docs-next button" href="/docs/proxy"><span>Proxy</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#access-token">Access token</a><ul class="toc-headings"><li><a href="#generate-token">Generate token</a></li><li><a href="#list-tokens">List tokens</a></li><li><a href="#revoke-tokens">Revoke tokens</a></li></ul></li><li><a href="#deploy">Deploy</a></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap center"><div><h5>Guide</h5><a href="/docs/en/about">Getting Started</a><a href="/docs/en/install">Installation</a><a href="/docs/en/indexing">Developer API</a></div><div><h5>Community</h5><a href="https://github.com/dzikoysk/reposilite/issues" target="_blank">Report Issue</a><a href="https://github.com/dzikoysk/reposilite" target="_blank">Star Reposilite</a><a href="https://twitter.com/dzikoysk" target="_blank">Follow @dzikoysk</a></div></section><section class="copyright">Copyright © 2020 dzikoysk with ❤ panda-lang</section></footer></div><script>window.twttr=(function(d,s, id){var js,fjs=d.getElementsByTagName(s)[0],t=window.twttr||{};if(d.getElementById(id))return t;js=d.createElement(s);js.id=id;js.src='https://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js, fjs);t._e = [];t.ready = function(f) {t._e.push(f);};return t;}(document, 'script', 'twitter-wjs'));</script></body></html>
24 changes: 11 additions & 13 deletions docs/docs/configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,22 @@ <h2><a class="anchor" aria-hidden="true" id="default-configuration"></a><a href=

<span class="hljs-comment"># Hostname</span>
<span class="hljs-attr">hostname:</span> <span class="hljs-string">""</span>
<span class="hljs-comment"># Port</span>
<span class="hljs-comment"># Port to bind</span>
<span class="hljs-attr">port:</span> <span class="hljs-number">80</span>
<span class="hljs-comment"># Custom base path</span>
<span class="hljs-attr">basePath:</span> <span class="hljs-string">"/"</span>
<span class="hljs-comment"># Debug</span>
<span class="hljs-attr">debugEnabled:</span> <span class="hljs-literal">false</span>

<span class="hljs-comment"># List of supported Maven repositories.</span>
<span class="hljs-comment"># First directory on the list is the main repository.</span>
<span class="hljs-comment"># First directory on the list is the main (primary) repository.</span>
<span class="hljs-comment"># Tu mark repository as private, prefix its name with a dot, e.g. ".private"</span>
<span class="hljs-attr">repositories:</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">"releases"</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">"snapshots"</span>
<span class="hljs-comment"># Allow to omit name of the main repository in request</span>
<span class="hljs-comment"># e.g. /org/panda-lang/reposilite will be redirected to /releases/org/panda-lang/reposilite</span>
<span class="hljs-attr">rewritePathsEnabled:</span> <span class="hljs-literal">true</span>

<span class="hljs-comment"># List of proxied repositories.</span>
<span class="hljs-comment"># Reposilite will search for an artifact in remote repositories listed below, if the requested artifact was not found.</span>
Expand All @@ -94,27 +100,19 @@ <h2><a class="anchor" aria-hidden="true" id="default-configuration"></a><a href=

<span class="hljs-comment"># Accept deployment connections</span>
<span class="hljs-attr">deployEnabled:</span> <span class="hljs-literal">true</span>
<span class="hljs-comment"># Allow to omit name of the main repository in request</span>
<span class="hljs-comment"># e.g. /org/panda-lang/reposilite will be redirected to /releases/org/panda-lang/reposilite</span>
<span class="hljs-attr">rewritePathsEnabled:</span> <span class="hljs-literal">true</span>
<span class="hljs-comment"># Require authentication of all requests (download, head requests)</span>
<span class="hljs-comment"># This option should be set to 'false', if you are hosting public repository</span>
<span class="hljs-attr">fullAuthEnabled:</span> <span class="hljs-literal">false</span>
<span class="hljs-comment"># If you don't want to display content of your repositories,</span>
<span class="hljs-comment"># you can just disable indexing</span>
<span class="hljs-attr">indexingEnabled:</span> <span class="hljs-literal">true</span>
<span class="hljs-comment"># List of management tokens used by dashboard to access extra options.</span>
<span class="hljs-comment"># (By default, people are allowed to use standard dashboard options related to the associated path)</span>
<span class="hljs-attr">managers:</span> <span class="hljs-string">[]</span>
<span class="hljs-comment"># - root</span>

<span class="hljs-comment"># Title displayed by frontend</span>
<span class="hljs-attr">title:</span> <span class="hljs-string">"#onlypanda"</span>
<span class="hljs-attr">title:</span> <span class="hljs-string">"Your company"</span>
<span class="hljs-comment"># Description displayed by frontend</span>
<span class="hljs-attr">description:</span> <span class="hljs-string">"Public Maven repository hosted through the Reposilite"</span>
<span class="hljs-attr">description:</span> <span class="hljs-string">"Definitely not Reposilite"</span>
<span class="hljs-comment"># Accent color used by frontend</span>
<span class="hljs-attr">accentColor:</span> <span class="hljs-string">"#2fd4aa"</span>
</code></pre>
<p>Customized version of configuration file can be found in test workspace: <a href="https://github.com/dzikoysk/reposilite/blob/master/reposilite-backend/src/test/workspace/reposilite.yml">reposilite.yml</a></p>
<h2><a class="anchor" aria-hidden="true" id="system-properties"></a><a href="#system-properties" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>System properties</h2>
<p>Passing properties through the system properties is especially useful,
when we want to use Docker image. The parameter must be provided in the following structure:</p>
Expand Down
24 changes: 11 additions & 13 deletions docs/docs/configuration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,22 @@ <h2><a class="anchor" aria-hidden="true" id="default-configuration"></a><a href=

<span class="hljs-comment"># Hostname</span>
<span class="hljs-attr">hostname:</span> <span class="hljs-string">""</span>
<span class="hljs-comment"># Port</span>
<span class="hljs-comment"># Port to bind</span>
<span class="hljs-attr">port:</span> <span class="hljs-number">80</span>
<span class="hljs-comment"># Custom base path</span>
<span class="hljs-attr">basePath:</span> <span class="hljs-string">"/"</span>
<span class="hljs-comment"># Debug</span>
<span class="hljs-attr">debugEnabled:</span> <span class="hljs-literal">false</span>

<span class="hljs-comment"># List of supported Maven repositories.</span>
<span class="hljs-comment"># First directory on the list is the main repository.</span>
<span class="hljs-comment"># First directory on the list is the main (primary) repository.</span>
<span class="hljs-comment"># Tu mark repository as private, prefix its name with a dot, e.g. ".private"</span>
<span class="hljs-attr">repositories:</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">"releases"</span>
<span class="hljs-bullet">-</span> <span class="hljs-string">"snapshots"</span>
<span class="hljs-comment"># Allow to omit name of the main repository in request</span>
<span class="hljs-comment"># e.g. /org/panda-lang/reposilite will be redirected to /releases/org/panda-lang/reposilite</span>
<span class="hljs-attr">rewritePathsEnabled:</span> <span class="hljs-literal">true</span>

<span class="hljs-comment"># List of proxied repositories.</span>
<span class="hljs-comment"># Reposilite will search for an artifact in remote repositories listed below, if the requested artifact was not found.</span>
Expand All @@ -94,27 +100,19 @@ <h2><a class="anchor" aria-hidden="true" id="default-configuration"></a><a href=

<span class="hljs-comment"># Accept deployment connections</span>
<span class="hljs-attr">deployEnabled:</span> <span class="hljs-literal">true</span>
<span class="hljs-comment"># Allow to omit name of the main repository in request</span>
<span class="hljs-comment"># e.g. /org/panda-lang/reposilite will be redirected to /releases/org/panda-lang/reposilite</span>
<span class="hljs-attr">rewritePathsEnabled:</span> <span class="hljs-literal">true</span>
<span class="hljs-comment"># Require authentication of all requests (download, head requests)</span>
<span class="hljs-comment"># This option should be set to 'false', if you are hosting public repository</span>
<span class="hljs-attr">fullAuthEnabled:</span> <span class="hljs-literal">false</span>
<span class="hljs-comment"># If you don't want to display content of your repositories,</span>
<span class="hljs-comment"># you can just disable indexing</span>
<span class="hljs-attr">indexingEnabled:</span> <span class="hljs-literal">true</span>
<span class="hljs-comment"># List of management tokens used by dashboard to access extra options.</span>
<span class="hljs-comment"># (By default, people are allowed to use standard dashboard options related to the associated path)</span>
<span class="hljs-attr">managers:</span> <span class="hljs-string">[]</span>
<span class="hljs-comment"># - root</span>

<span class="hljs-comment"># Title displayed by frontend</span>
<span class="hljs-attr">title:</span> <span class="hljs-string">"#onlypanda"</span>
<span class="hljs-attr">title:</span> <span class="hljs-string">"Your company"</span>
<span class="hljs-comment"># Description displayed by frontend</span>
<span class="hljs-attr">description:</span> <span class="hljs-string">"Public Maven repository hosted through the Reposilite"</span>
<span class="hljs-attr">description:</span> <span class="hljs-string">"Definitely not Reposilite"</span>
<span class="hljs-comment"># Accent color used by frontend</span>
<span class="hljs-attr">accentColor:</span> <span class="hljs-string">"#2fd4aa"</span>
</code></pre>
<p>Customized version of configuration file can be found in test workspace: <a href="https://github.com/dzikoysk/reposilite/blob/master/reposilite-backend/src/test/workspace/reposilite.yml">reposilite.yml</a></p>
<h2><a class="anchor" aria-hidden="true" id="system-properties"></a><a href="#system-properties" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>System properties</h2>
<p>Passing properties through the system properties is especially useful,
when we want to use Docker image. The parameter must be provided in the following structure:</p>
Expand Down
Loading

0 comments on commit 24ca504

Please sign in to comment.