Skip to content

Commit

Permalink
Merge pull request #130 from mediumroast/V0.8.0--dev
Browse files Browse the repository at this point in the history
Fix doc eratta and clean up action
  • Loading branch information
miha42-github authored Dec 29, 2024
2 parents f44f2ff + 344e018 commit 02a4bcb
Show file tree
Hide file tree
Showing 30 changed files with 46 additions and 37 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ If you detect a problem or want to suggest an improvement open an [issue](https:
If you need support or would like to have Mediumroast run the Caffeine Machine Intelligence service on your repository please contact the Mediumroast team via [Discord](https://discord.gg/ebM4Cf8meK) or email us at [hello@mediumroast.io], (mailto:hello@mediumroast.io).

### Release notes
#### Version 0.8.06.02
- Resolved documentation errata for Demo.md
- Updated text for basic reporting workflow and action to show both companies and study reports are running.
- Removed debugging logging statements from basic reporting action.

#### Version 0.8.06.01
- The latest version of the SDK and CLI package now includes an initial implementation of Studies with the Foundation study.
- The SDK and CLI may run on for Windows OS, but it has not been tested. If you choose to install and run into problems please open an issue and we will work with you to resolve the matter.
Expand Down
8 changes: 4 additions & 4 deletions cli/Demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ With this configuration file by updating the `org` value to `MegaRoast` you can
[DEFAULT]
company_dns=https://company-dns.mediumroast.io
company_logos=https://icon-server.mediumroast.io/allicons.json?url=
echarts=https://echart-server.mediumroast.io:11000
echarts=https://chart-server.mediumroast.io:11000
nominatim=https://nominatim.openstreetmap.org/search?addressdetails=1&q=
working_directory=working
report_output_dir=Documents
theme=coffee
theme=latte

[GitHub]
clientId=Iv1.f5c0a4eb1f0606f8
appId=650476
authType=deviceFlow
org=<ORGANIZATION>
token=<TOKEN>
authType=deviceFlow
org=MegaRoast
```

### Limitations
Expand Down
2 changes: 1 addition & 1 deletion cli/actions/actions/basic-reporting/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Basic Reporting'
description: 'Generates basic reports for companies plus wrapping README.md files in the repository'
description: 'Generates basic reports for companies and studies plus wrapping README.md files in the repository'
inputs:
github-token:
description: 'GitHub token'
Expand Down
2 changes: 0 additions & 2 deletions cli/actions/actions/basic-reporting/study.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,10 @@ async function createStudyReport (studies, companies, reports) {

// ---- Check if the study is caffinated ----
const [caffinated, caffinatedMessage] = _checkCaffinated(study)
console.log('CAFFINATED STATUS>>>',caffinated)
if (caffinated === true) {
// ---- BEGIN Top Insights ----
// Get the top insights
const topInsights = await _getTopInsights(study)
console.log('TOP INSIGHTS>>>',topInsights)
studyFile += topInsights
// ---- END Top Insights ----
} else {
Expand Down
2 changes: 1 addition & 1 deletion cli/actions/workflows/basic-reporting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Install dependencies
run: npm install
working-directory: ./.github/actions/basic-reporting
- name: Generate basic reports for companies
- name: Generate basic reports for companies and studies
uses: ./.github/actions/basic-reporting
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion docs/GitHubFunctions.GitHubFunctions.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/authorize.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/classes.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/gitHubServer.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/github.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -1282,7 +1282,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
8 changes: 7 additions & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ <h2>Issues</h2>
<h2>Support</h2>
<p>If you need support or would like to have Mediumroast run the Caffeine Machine Intelligence service on your repository please contact the Mediumroast team via <a href="https://discord.gg/ebM4Cf8meK">Discord</a> or email us at [hello@mediumroast.io], (mailto:hello@mediumroast.io).</p>
<h3>Release notes</h3>
<h4>Version 0.8.06.02</h4>
<ul>
<li>Resolved documentation errata for Demo.md</li>
<li>Updated text for basic reporting workflow and action to show both companies and study reports are running.</li>
<li>Removed debugging logging statements from basic reporting action.</li>
</ul>
<h4>Version 0.8.06.01</h4>
<ul>
<li>The latest version of the SDK and CLI package now includes an initial implementation of Studies with the Foundation study.</li>
Expand Down Expand Up @@ -218,7 +224,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/module-GitHubAuth-GitHubAuth.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/module-GitHubAuth.html
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/module-GitHubFunctions.html
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/module-baseObjects-Actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/module-baseObjects-Companies.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/module-baseObjects-Interactions.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/module-baseObjects-Storage.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/module-baseObjects-Studies.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/module-baseObjects-Users.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/module-baseObjects.html
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/modules.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/quicksearch.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/tutorial-Company.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
10 changes: 5 additions & 5 deletions docs/tutorial-Demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,18 @@ <h3>Example config.ini file</h3>
<pre class="prettyprint source lang-ini"><code>[DEFAULT]
company_dns=https://company-dns.mediumroast.io
company_logos=https://icon-server.mediumroast.io/allicons.json?url=
echarts=https://echart-server.mediumroast.io:11000
echarts=https://chart-server.mediumroast.io:11000
nominatim=https://nominatim.openstreetmap.org/search?addressdetails=1&q=
working_directory=working
report_output_dir=Documents
theme=coffee
theme=latte

[GitHub]
clientId=Iv1.f5c0a4eb1f0606f8
appId=650476
authType=deviceFlow
org=&lt;ORGANIZATION>
token=&lt;TOKEN>
authType=deviceFlow
org=MegaRoast
</code></pre>
<h3>Limitations</h3>
<p>The following limitations are in place for the demo repository:</p>
Expand Down Expand Up @@ -157,7 +157,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-Interaction.html
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-README.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorial-Study.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials.list.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ <h4 class="modal-title">Search results</h4>
<span class="jsdoc-message">
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 4.0.4</a>

on Sat Dec 28th 2024
on Sun Dec 29th 2024

using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
</span>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mediumroast_js",
"version": "0.8.06.01",
"version": "0.8.06.02",
"description": "A Command Line Interface (CLI) and Javascript SDK to interact with Mediumroast for GitHub.",
"main": "cli/mrcli.js",
"scripts": {
Expand Down

0 comments on commit 02a4bcb

Please sign in to comment.