Skip to content

Commit

Permalink
Merge pull request #56 from Boavizta/47-no-access-to-frictionless-run…
Browse files Browse the repository at this point in the history
…s-reports

47 no access to frictionless runs reports
  • Loading branch information
demeringo authored Nov 13, 2024
2 parents ec4f9cd + d44873a commit be3a363
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
name: frictionless

on:
push:
branches:
- main
# push:
# branches:
# - 47-no-access-to-frictionless-runs-reports
pull_request:
branches:
- main

jobs:

# Validate the example project-list
validate:
# Validate the format of the csv data
validate-tools-csv:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Validate data
uses: frictionlessdata/repository@v2
with:
resources: old-examples/project-list/project-list.resources.yaml
resources: ictst/data/tools.resources.yaml
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ It defines a data model that can be used to build an inventory of the tools.
- [Components](#components)
- [Data format](#data-format)
- [draft dataset](#draft-dataset)
- [Example Datami widgets](#example-datami-widgets)
- [data validation in CI](#data-validation-in-ci)
- [Other examples of Datami widgets configration](#other-examples-of-datami-widgets-configration)
- [Local development](#local-development)
- [1. Install the mini server for local development](#1-install-the-mini-server-for-local-development)
- [Run local server](#run-local-server)
Expand Down Expand Up @@ -92,7 +93,27 @@ We use a [Datami](https://datami-docs.multi.coop/?locale=en) widget to display d

See [draft dataset](old-examples/ict-sustainability-tools.csv)

### Example Datami widgets
### data validation in CI

Data _format_ (not content) is automatically validated in CI using frictionless-ci in a github action triggered on PR's.

See [frictionless-ci | Frictionless Repository](https://repository.frictionlessdata.io/index.html)

```sh
# Local data validation
# See https://framework.frictionlessdata.io/docs/guides/validating-data.html

# Install frictionless cli
pip install frictionless
#
cd ictst/data
# validate just csv _global_ structure
frictionless validate tools.csv
# validate that format of fields matches description
frictionless validate tools.resources.yaml
```

### Other examples of Datami widgets configration

- A CSV file displayed without any customization [old-examples/csv/csv-widget-basic.html](old-examples/csv/csv-widget-basic.html)
- A CSV file displayed with some additional constraints on fields [old-examples/csv/csv-widget-with-constraints.html](old-examples/csv/csv-widget-with-constraints.html).
Expand Down
6 changes: 3 additions & 3 deletions ictst/data/tools.csv
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Carbon Aware SDK,Green Software Foundation,https://github.com/Green-Software-Fou
Carbon Facts,Qarnot,https://qarnot.com/en/low-carbon,,GWP (CO2eq),Carbon Facts are an energy consumption management tool developed by Qarnot to issue detailed reports on the energy expenses and savings of computations on the cloud platform.,Evaluation,,Infra - Datacenter,Machine+Room,,Usage,Calculation+Reporting,Closed Source / Commercial,No,France,,,Undisclosed,,Draft,Gaël Duez,2024-02-12,,,,,,,,0
Carbon Impact,Dynatrace,https://www.dynatrace.com/hub/detail/carbon-impact/,,GWP (CO2eq),,Evaluation,,Infra - Cloud,Machine,,Usage,,Closed Source / Commercial,No,USA,,,,,Sandbox,Gaël Duez,,,,,,,,,0
Carbonalyzer,The Shift Project,https://theshiftproject.org/en/carbonalyser-browser-extension/,,GWP (CO2eq),"Outdated, say it's creators. Don't rely on the results produced.",Evaluation,,Software - Web Content,"Request (HTTP),User,Website",,Manufacturing+Usage,Awareness+Calculation,Open-Source (MIT),Not Applicable,France,IconePlugin%20(1).png(https://db.boavizta.org/dltemp/4q9Mj2RjwLFT-qE1/1716391800000/noco/p_nck134abueisqs/md_kvka0tcnh8dyrw/c7dg4sg7uv2ica7/F4hHQx5Ut1HSxI6iVe.png),,Fully Disclosed,,Draft,Benoit Petit,2024-02-14,,,,,,,,0
Carbonifer,Carbonifer,https://carbonifer.io/,,GWP (CO2eq),,Evaluation,,Infra - Cloud,Machine,,,,,Yes,France,chrome_uDA0oqZNNj.png(https://db.boavizta.org/dltemp/C9osNJZ_ZJy-PG8P/1716391800000/noco/p_nck134abueisqs/md_kvka0tcnh8dyrw/c7dg4sg7uv2ica7/Jj-qIW-7IYbc8rLiy8.png),,,,Sandbox,Gaël Duez,,,,,,,,,0
Climatiq,Climatiq Technologies,https://www.climatiq.io/,,GWP (CO2eq),Climatiq API enables user to assess emissions based on a variety of cloud computing factors.,Evaluation,Infra - Cloud,,Machine+Application+Feature,RAM capacity+CPU capacity+Storage,Usage,Calculation,Closed Source / Commercial,No,Germany,,TBQ,Undisclosed,https://www.climatiq.io/docs/guides/tutorials/cloud,Draft,Gael Duez,2024-05-13,"AFAIK, impossible to get how the metrics are calculated in their doc",,,,,,,0
Carbonifer,Carbonifer,https://carbonifer.io/,,GWP (CO2eq),,Evaluation,,Infra | Cloud,Machine,,,,,Yes,France,chrome_uDA0oqZNNj.png(https://db.boavizta.org/dltemp/C9osNJZ_ZJy-PG8P/1716391800000/noco/p_nck134abueisqs/md_kvka0tcnh8dyrw/c7dg4sg7uv2ica7/Jj-qIW-7IYbc8rLiy8.png),,,,Sandbox,Gaël Duez,,,,,,,,,0
Climatiq,Climatiq Technologies,https://www.climatiq.io/,,GWP (CO2eq),Climatiq API enables user to assess emissions based on a variety of cloud computing factors.,Evaluation,Infra | Cloud,,Machine+Application+Feature,RAM capacity+CPU capacity+Storage,Usage,Calculation,Closed Source / Commercial,No,Germany,,TBQ,Undisclosed,https://www.climatiq.io/docs/guides/tutorials/cloud,Draft,Gael Duez,2024-05-13,"AFAIK, impossible to get how the metrics are calculated in their doc",,,,,,,0
Cloud Carbon Footprint,Thoughtworks,https://www.cloudcarbonfootprint.org/,,GWP (CO2eq),"Cloud Carbon Footprint is an open source tool that provides visibility and tooling to measure, monitor and reduce your cloud carbon emissions. We use best practice methodologies to convert cloud utilization into estimated energy usage and carbon emissions, producing metrics and carbon savings estimates that can be shared with employees, investors, and other stakeholders.",Evaluation,,Infra - Cloud,Project+Application+Team+Machine,,Extraction+Manufacturing+Usage,Collection+Calculation+Reporting,Open-Source (Apache 2.0),Yes,USA,,,Fully Disclosed,,Draft,Gaël Duez,2023-12-18,,,,,,,,0
Cloud-Scanner,Boavizta,https://boavizta.github.io/cloud-scanner/,,ADPf (MJ)+ADPe (Sbeq)+Primary Energy (J)+Water Depletion+GWP (CO2eq),,Evaluation,,Infra - Cloud,Machine+Project+Team,,Extraction+Manufacturing+Usage+End of Life,Collection+Calculation+Reporting,Open-Source (AGPLv3),Yes,France,https://raw.githubusercontent.com/da-ekchajzer/cloud-scanner/refs/heads/main/cloudscanner_color.svg,,Fully Disclosed,,Draft,Gaël Duez,2023-12-18,,,,,,,,0
Cloud-assess,Resilio / Kleis Technology,https://www.cloudassess.org/,,Water Depletion+GWP (CO2eq)+ADPf (MJ)+ADPe (Sbeq)+Primary Energy (J)+Final Energy (J/Wh),,Evaluation,,Software - Backend,Machine+Room+Project+Application,,Extraction+Manufacturing+Transport+Usage+End of Life,Reporting+Calculation+Awareness,Open-Source (Apache 2.0),Yes,Switzerland,Cloud-Assess-Main-Logo.webp(https://db.boavizta.org/dltemp/uFntx8ooAMWC1eKR/1716391800000/noco/p_nck134abueisqs/md_kvka0tcnh8dyrw/c7dg4sg7uv2ica7/IGhSimH_8WRLAbP7Ac.webp),,Disclosed - Internal / Clients,,Draft,Benoit Petit,2024-02-14,,,,,,,,0
Expand Down Expand Up @@ -72,4 +72,4 @@ Tanaguru Engine,Tanaguru,https://www.tanaguru.com/en/open-source-tools-tanaguru/
Verdikt,Verdikt,https://verdikt.io/,,,,,,,,,,,Closed Source / Commercial,,,Logo-Verdikt.svg(https://db.boavizta.org/dltemp/PHa-2p4JninnoFoq/1716391800000/noco/p_nck134abueisqs/md_kvka0tcnh8dyrw/c7dg4sg7uv2ica7/pjca9P3IGyXVrxaDG9.svg),,,,Sandbox,Gaël Duez,,,,,,,,,0
WeNR,ISIT,https://wenr.isit-europe.org/,,,"WeNR is a tool for measuring the footprint of organisations’ IT systems. This tool enables any type of organisation to analyse where the environmental impacts are and to measure their level of Sustainable IT maturity, based on the triptych People-Planet-Prosperity. For this purpose, ISIT proposes a tool based on open and public data.",Evaluation,,Global - Information System,,,,,Open-Source - Unkown,No,France,INR-logo-s.jpg(https://db.boavizta.org/dltemp/bkCKvisODu2pAToM/1716391800000/noco/p_nck134abueisqs/md_kvka0tcnh8dyrw/c7dg4sg7uv2ica7/TOZLlMiqzYrcPiDn-r.jpg),,,,Sandbox,Gaël Duez,2024-02-02,,,,,,,,0
WebVert Auto-Diagnostic,Webvert,https://www.lewebvert.fr/offre/auto-diag/,,GWP (CO2eq),Evaluation focus on useless bandwidth.,Evaluation,,Software - Web Content,Website,Bandwidth,Usage,Calculation+Eco-design,Closed Source / Commercial,No,France,https://www.lewebvert.fr/assets/images/webvert-logo-darktheme.svg,OneByte+Lighthouse,Fully Disclosed,https://www.lewebvert.fr/entreprise/faq/ https://www.lewebvert.fr/blog/2023-09-06-etat-de-lart-site-web-contenu-v2/,Draft,Youen Chéné,2024-04-19,Disclaimer - I am the founder of webvert. I created the entry. Don't put me in the evaluation.,,,,,,,0
OxygenIT,ScaleDynamics,,,,,,Infra - Cloud,,,,,,Business Source (non permissive licence),No,,,,Undisclosed,,Sandbox,null,null,null,null,null,null,,,null,0
OxygenIT,ScaleDynamics,,,,,,Infra | Cloud,,,,,,Business Source (non permissive licence),No,,,,Undisclosed,,Sandbox,null,null,null,null,null,null,,,null,0
36 changes: 34 additions & 2 deletions ictst/data/tools.resources.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,16 @@ schema:
# The name of the organization that produces the tools
- name: organization
type: string
- name: website
type: string
- name: sub_module
type: string
- name: environmental_indicator
type: string
- name: quick_description
type: string
- name: assessment_type
type: string
#What is the general scope covered by the tool. Several values are possible but one should be chosen as the primary one for visual classification purpose.
- name: main_perimeter
type: string
Expand All @@ -35,5 +45,27 @@ schema:
- Software | Web Content
- Global | Digital Workspace
- To Be Qualified

# TODO: Add other fields
- name: other_perimeters
- name: assessed_functional_unit
- name: data_entry_points
- name: life_cycle_steps
- name: focus
- name: licence
- name: self_hostable
- name: originating_country
- name: logo
- name: inside_models
- name: methodology_transparency
- name: ref_sources
- name: status
- name: Creator
- name: Creation date
- name: Creator_comment
- name: reviewer_1
- name: review_1_date
- name: review_1_explanation
- name: reviewer_2
- name: review_2_date
- name: review_2_explanation
- name: Linked Publications
# Todo detail constraints on the fields.

0 comments on commit be3a363

Please sign in to comment.