diff --git a/.github/workflows/autocommit.yml b/.github/workflows/autocommit.yml new file mode 100644 index 00000000..6d055d89 --- /dev/null +++ b/.github/workflows/autocommit.yml @@ -0,0 +1,19 @@ +name: Autocommit pull requests + +on: + workflow_dispatch: + pull_request: + types: [labeled] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Automerge Pull Request if possible + uses: "pascalgn/automerge-action@v0.16.4" + env: + GITHUB_TOKEN: "${{ secrets.PAT }}" + MERGE_LABELS: "automerge" + MERGE_RETRY_SLEEP: 300000 + MERGE_METHOD: "squash" \ No newline at end of file diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..01c4be21 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,22 @@ +name: Build Landscape from LFX + +on: + workflow_dispatch: + schedule: + - cron: "0 4 * * *" + +jobs: + build: + runs-on: ubuntu-24.04 + steps: + - name: Harden Runner + uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1 + with: + egress-policy: audit + - uses: jmertic/lfx-landscape-tools@main + with: + project_processing: skip + env: + token: ${{ secrets.PAT }} + repository: ${{ github.repository }} + ref: ${{ github.ref }} \ No newline at end of file diff --git a/.github/workflows/marksuccessfulbuild.yml b/.github/workflows/marksuccessfulbuild.yml new file mode 100644 index 00000000..290a0d0f --- /dev/null +++ b/.github/workflows/marksuccessfulbuild.yml @@ -0,0 +1,16 @@ +name: "Set Issue Label on successful build" +on: + workflow_dispatch: + issue_comment: + types: [created, edited] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: Amwam/issue-comment-action@v1.3.1 + if: ${{ github.event.issue.pull_request && contains(github.event.issue.labels.*.name, 'automatedupdate') }} + with: + keywords: '["Deploy preview for *riscv* ready"]' + labels: '["automerge"]' + github-token: "${{ secrets.PAT }}" \ No newline at end of file diff --git a/.gitignore b/.gitignore index 96902cfb..27fc8602 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,5 @@ tmp data.json lookup.json landscapeapp +build +missing.csv diff --git a/config.yaml b/config.yaml new file mode 100644 index 00000000..71a8c594 --- /dev/null +++ b/config.yaml @@ -0,0 +1,13 @@ +landscapeMemberClasses: + - name: Premier 250k + category: Premier + - name: Premier 100k + category: Premier + - name: Strategic Membership + category: Strategic + - name: Start-up Strategic Membership + category: Strategic + - name: Community Membership + category: Community +slug: risc-v-international +landscapeMemberCategory: RISC-V Members diff --git a/settings-landscape2.yml b/settings-landscape2.yml new file mode 100644 index 00000000..e33507bf --- /dev/null +++ b/settings-landscape2.yml @@ -0,0 +1,295 @@ +# Landscape2 settings +# +# This settings file allows customizing some aspects of the landscape. + +# Foundation (required) +# +# Name of the foundation. This value is used in some labels, so we recommended +# to keep it as short as possible. +# +# foundation: +# +foundation: RISCV + +# Url (required) +# +# Url where the landscape will be hosted. +# +# url: +# +url: https://riscv.landscape2.io + +# Analytics (optional) +# +# Analytics providers configuration. When an analytics provider is set up, some +# additional code from the provider will be injected into the web application. +# +# analytics: +# gtm: # Google Tag Manager configuration +# container_id: # Landscape web application container ID +# + +# Base path (optional) +# +# Base path where the landscape will be hosted. By default the generated +# landscape is prepared to be hosted at the root of the domain. However, if the +# landscape will be hosted in a subpath, this value must be set accordingly. +# +# base_path: / +# + +# Categories (optional) +# +# Categories information is read from the `landscape.yml` data file. The way +# categories are displayed in the web application is computed dynamically based +# on the number of categories and subcategories, as well as the number of items +# on each. Sometimes, however, we may want subcategories to be displayed in a +# specific order within a category (this happens often in the Members category). +# In those cases, it is possible to define that order by overriding a category. +# +# This option can also be used to not display one or more subcategories in the +# landscape. To achieve that, we only need to exclude the subcategory from the +# subcategories list when overriding a category. +# +# categories: +# - name: +# subcategories: +# - +# - +# +categories: + - name: RISC-V Members + subcategories: + - Premier + - Strategic + - Community + +# Colors (optional) +# +# Colors used across the landscape UI. The colors section is optional but, when +# provided, *all colors must be provided*. Colors must be specified using the +# following format: "rgba(, , , )". +# +# colors: +# color1: # Buttons, groups, links +# color2: # Some highlighted items like filters button, search icon +# color3: # Participation stats bars, spinners, modal titles +# color4: # Categories titles in filters, fieldset in filters modal +# color5: # Categories and subcategories frames (odd) +# color6: # Categories and subcategories frames (even) +# color7: # Borders, shadows and options boxes in games +# +colors: + color1: "rgba(47, 54, 112, 1)" + color2: "rgba(252, 179, 38, 1)" + color3: "rgba(235, 161, 27, 0.7)" + color4: "rgba(35, 58, 150, 1)" + color5: "rgba(62, 106, 123, 0.7)" + color6: "rgba(35, 58, 150, 0.7)" + color7: "rgba(213, 214, 226, 1)" + +# End user (optional) +# +# This section allows defining what items should be marked as `end user` based +# on the category and subcategory they belong to. If the `enduser` field has +# been set on a given item, that value will take precedence. +# +# enduser: +# - category: (required) +# subcategories: (optional) +# - +# - category: +# + +# Featured items (optional) +# +# This section allows highlighting items that match certain criteria. You can +# define a list of rules and the matching items will be featured in a special +# way in the landscape. +# +# Each rule must define a field for the check as well as the values that will +# trigger a match. At the moment the fields supported are: +# +# - maturity +# - subcategory +# +# When a given item's field matches any of the values provided, it will be +# considered a featured item. For each option, it is possible to also define an +# order (which item would be displayed first) and a label for the item. +# +# featured_items: +# - field: subcategory +# options: +# - value: +# - value: +# +featured_items: + - field: maturity + options: + - value: active + order: 1 + label: FINOS Active + - value: incubating + order: 2 + label: FINOS Incubating + - value: sig + order: 3 + label: Special Interest Group + +# Footer (optional) +# +# This section allows customizing some aspects of the footer. +# +# footer: +# links: +# facebook: +# flickr: +# github: +# homepage: +# instagram: +# linkedin: +# slack: +# twitch: +# twitter: +# wechat: +# youtube: +# logo: # Foundation logo featured on the footer +# text: # Copyright notice, for example +# +footer: + links: + flickr: "https://www.flickr.com/people/194299101@N07/" + homepage: "https://riscv.org" + linkedin: "https://www.linkedin.com/company/risc-v-international-association/" + twitter: "https://twitter.com/risc_v" + youtube: "https://www.youtube.com/channel/UC5gLmcFuvdGbajs4VL-WU3g" + text: | + Copyright © 2024 The Linux Foundation®. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our [Trademark Usage page](https://www.linuxfoundation.org/trademark-usage). Linux is a registered trademark of Linus Torvalds. [Privacy Policy](https://www.linuxfoundation.org/privacy) and [Terms of Use](https://www.linuxfoundation.org/terms). This website contains data received from Crunchbase. This data is not licensed pursuant to the Apache License. It is subject to Crunchbase's Data Access Terms, available at , and is only permitted to be used with Linux Foundation landscape projects. + +# Grid items size (optional) +# +# Defines the preferred size of the landscape items in the grid mode. When the +# landscape contains many items, it is recommended to use the `small` size. +# However, if there aren't many items, choosing `medium` or `large` may make +# the landscape look nicer. Users will still be able to adjust the items size +# from the UI using the zoom controls. +# +# grid_items_size: +# +grid_items_size: large + +# Groups (optional) +# +# In some cases, specially when a landscape contains lots of items, it may be +# interesting to organize them in groups. Each group will be displayed on a +# different tab in the landscape web application. Each entry must contain the +# name of the group (it will be displayed as is) and a list with the categories +# (as defined in the landscape.yml data file) that will be part of this group. +# +# groups: +# - name: +# categories: +# - +# - +# +groups: + - name: Members + categories: + - RISC-V Members + +# Header (optional) +# +# This section allows customizing some aspects of the header. +# +# header: +# links: +# github: +# logo: # Foundation logo featured on the header +# +header: + links: + github: "https://github.com/riscv-admin/riscv-landscape" + logo: "https://raw.githubusercontent.com/riscv-admin/riscv-landscape/main/images/left-logo.svg" + +# Images (optional) +# +# Urls of some images used in the landscape UI. +# +# images: +# favicon: +# open_graph: +# +images: + favicon: "https://raw.githubusercontent.com/riscv-admin/riscv-landscape/main/images/favicon.png" + open_graph: "https://raw.githubusercontent.com/riscv-admin/riscv-landscape/main/images/social.png" +# Logos viewbox (optional) +# +# In order to display the logos as large as possible in the landscape, during +# the build process we try to update their viewbox if `adjust` is set to true +# (by default it is when this setting is not provided). However, sometimes this +# does not help and logos may not be displayed correctly. In those cases, it is +# possible to exclude some of them from being adjusted by adding the logo(s) +# file name to the `exclude` list. +# +# logos_viewbox: +# adjust: true +# exclude: +# - logo1.svg +# - logo2.svg +# + +# Name of the members category (optional) +# +# Landscapes usually have a special category dedicated to the members of the +# corresponding foundation. It is possible to use any name for that category, +# but it is important that we define it here as there are some special +# operations that depend on it. +# +# members_category: +# + +# Osano (optional) +# +# Osano cookies consent form configuration. When the Osano configuration is +# provided, some additional code will be injected into the web application. +# +# The `customer_id` and `customer_configuration_id` fields values can be +# obtained from the url in the configuration script code available on the Osano +# site: +# +# https://cmp.osano.com///osano.js +# +# osano: +# customer_id: +# customer_configuration_id: +# + +# Screenshot width (optional) +# +# Width of the landscape screenshots automatically generated (in pixels). +# Screenshots won't be taken if this value is not provided. +# +# screenshot_width: +# +#screenshot_width: 1500 +# Upcoming event (optional) +# +# This section allows configuring an upcoming event that will be featured on +# the landscape web application. Expired events won't be displayed. +# +# upcoming_event: +# name: # Event name (required) +# start: # Start date: (required, format: YYYY-MM-DD) +# end: # End date: (required, format: YYYY-MM-DD) +# banner_url: # Event banner image url (required, recommended dimensions: 2400x300) +# details_url: # Event details URL (required) +# + +# View mode (optional) +# +# This section allows customizing the default view mode of the landscape web +# application. The view mode can be set to either `grid` or `card`. When +# omitted, the default view mode is `grid`. +# +# view_mode: +# diff --git a/settings.yml b/settings.yml index b38dc2cd..cd1ca6c7 100644 --- a/settings.yml +++ b/settings.yml @@ -11,7 +11,7 @@ global: meta: title: RISC-V Interactive Landscape description: RISC-V Landscape Info - twitter: '@risc_v' + twitter: "@risc_v" google_site_verification: test ms_validate: test extra: > @@ -52,7 +52,7 @@ relation: label: Riscv Projects prefix: Riscv tag: Projects - color: '#3570af' + color: "#3570af" big_picture_order: 1 big_picture_label: Riscv Projects big_picture_color: rgb(24,54,114) @@ -61,7 +61,7 @@ relation: tag: Riscv Member - id: false label: Non-RISC-V Member Products/Projects - url: 'no' + url: "no" membership: Premier: name: RISC-V @@ -198,44 +198,7 @@ big_picture: width: 140 left: 15 top: 15 - title: Landscape Logo - - type: HorizontalCategory - is_large: true - category: Implementations - rows: 4 - width: 1350 - height: 300 - top: 1070 - left: 0 - color: rgb(109,61,143) - - type: HorizontalCategory - is_large: true - category: Design Tools, Compilers and Verification - rows: 2 - width: 1350 - height: 175 - top: 775 - left: 0 - color: rgb(109,61,143) - - type: HorizontalCategory - is_large: true - category: Services - rows: 1 - width: 1350 - height: 100 - left: 0 - color: rgb(109,61,143) - top: 960 - - type: HorizontalCategory - is_large: true - category: RISC-V Programs - rows: 1 - width: 1350 - height: 100 - top: 1380 - left: 0 - color: rgb(109,61,143) - fullscreen_header: https://riscv.org/ + title: Landscape Logos members: tab_index: 2 name: RISC-V Members @@ -256,7 +219,7 @@ big_picture: color: rgb(109,61,143) - type: HorizontalCategory is_large: true - category: Premier TSC + category: Premier rows: 2 width: 240 height: 175