Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolaydubina committed Jul 2, 2024
2 parents 92f4481 + 453484f commit 517953f
Show file tree
Hide file tree
Showing 329 changed files with 12,730 additions and 4,457 deletions.
34 changes: 21 additions & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Copyright 2022-2023, axodotdev
# Copyright 2022-2024, axodotdev
# SPDX-License-Identifier: MIT or Apache-2.0
#
# CI that:
#
# * checks for a Git Tag that looks like a release
# * builds artifacts with cargo-dist (archives, installers, hashes)
# * uploads those artifacts to temporary workflow zip
# * on success, uploads the artifacts to a Github Release
# * on success, uploads the artifacts to a GitHub Release
#
# Note that the Github Release will be created with a generated
# Note that the GitHub Release will be created with a generated
# title/body based on your changelogs.

name: Release
Expand All @@ -31,7 +31,7 @@ permissions:
# packages versioned/released in lockstep).
#
# If you push multiple tags at once, separate instances of this workflow will
# spin up, creating an independent announcement for each one. However Github
# spin up, creating an independent announcement for each one. However, GitHub
# will hard limit this to 3 tags per commit, as it will assume more tags is a
# mistake.
#
Expand All @@ -40,7 +40,7 @@ permissions:
on:
push:
tags:
- '**[0-9]+.[0-9]+.[0-9]+*'
- "**[0-9]+.[0-9]+.[0-9]+*"

jobs:
# Run 'cargo dist plan' (or host) to determine what tasks we need to do
Expand All @@ -61,7 +61,7 @@ jobs:
# we specify bash to get pipefail; it guards against the `curl` command
# failing. otherwise `sh` won't catch that `curl` returned non-0
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.12.2/cargo-dist-installer.sh | sh"
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.14.1/cargo-dist-installer.sh | sh"
# sure would be cool if github gave us proper conditionals...
# so here's a doubly-nested ternary-via-truthiness to try to provide the best possible
# functionality based on whether this is a pull_request, and whether it's from a fork.
Expand Down Expand Up @@ -104,10 +104,15 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_MANIFEST_NAME: target/distrib/${{ join(matrix.targets, '-') }}-dist-manifest.json
steps:
- name: enable windows longpaths
run: |
git config --global core.longpaths true
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: swatinem/rust-cache@v2
with:
key: ${{ join(matrix.targets, '-') }}
- name: Install cargo-dist
run: ${{ matrix.install_dist }}
# Get the dist-manifest
Expand All @@ -120,6 +125,9 @@ jobs:
- name: Install dependencies
run: |
${{ matrix.packages_install }}
- name: Install wasm-pack
run: |
cargo install wasm-pack
- name: Build artifacts
run: |
# Actually do builds and make zips and whatnot
Expand All @@ -134,7 +142,7 @@ jobs:
run: |
# Parse out what we just built and upload it to scratch storage
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
jq --raw-output ".upload_files[]" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
Expand All @@ -161,7 +169,7 @@ jobs:
submodules: recursive
- name: Install cargo-dist
shell: bash
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.12.2/cargo-dist-installer.sh | sh"
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.14.1/cargo-dist-installer.sh | sh"
# Get all the local artifacts for the global tasks to use (for e.g. checksums)
- name: Fetch local artifacts
uses: actions/download-artifact@v4
Expand All @@ -177,7 +185,7 @@ jobs:
# Parse out what we just built and upload it to scratch storage
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".artifacts[]?.path | select( . != null )" dist-manifest.json >> "$GITHUB_OUTPUT"
jq --raw-output ".upload_files[]" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
cp dist-manifest.json "$BUILD_MANIFEST_NAME"
Expand Down Expand Up @@ -206,15 +214,15 @@ jobs:
with:
submodules: recursive
- name: Install cargo-dist
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.12.2/cargo-dist-installer.sh | sh"
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.14.1/cargo-dist-installer.sh | sh"
# Fetch artifacts from scratch-storage
- name: Fetch artifacts
uses: actions/download-artifact@v4
with:
pattern: artifacts-*
path: target/distrib/
merge-multiple: true
# This is a harmless no-op for Github Releases, hosting for that happens in "announce"
# This is a harmless no-op for GitHub Releases, hosting for that happens in "announce"
- id: host
shell: bash
run: |
Expand Down Expand Up @@ -245,7 +253,7 @@ jobs:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: "Download Github Artifacts"
- name: "Download GitHub Artifacts"
uses: actions/download-artifact@v4
with:
pattern: artifacts-*
Expand All @@ -255,7 +263,7 @@ jobs:
run: |
# Remove the granular manifests
rm -f artifacts/*-dist-manifest.json
- name: Create Github Release
- name: Create GitHub Release
uses: ncipollo/release-action@v1
with:
tag: ${{ needs.plan.outputs.tag }}
Expand Down
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
.DS_Store
.idea
.vscode
crates/wasm/overlay/data
crates/wasm/overlay/dist
crates/wasm/overlay/sources
lcov.info
npm-debug.log*
target
target-wasm
ui/embed/dist
ui/embed/node_modules
ui/embed/static/*
ui/webapp/dist
ui/webapp/node_modules
ui/webapp/static/*
yarn-debug.log*
yarn-error.log*
target
Expand Down
2 changes: 2 additions & 0 deletions ADOPTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ If you are using **Landscape2**, please consider adding your landscape to this l
*(ordered alphabetically)*

- [Academy Software Foundation](https://aswf.landscape2.io)
- [Alliance for OpenUSD](https://aousd.landscape2.io)
- [CAMARA Project](https://camara.landscape2.io)
- [Cloud Native Computing Foundation](https://landscape.cncf.io)
- [Continuous Delivery Foundation](https://cdf.landscape2.io)
- [GraphQL](https://graphql.landscape2.io)
- [Hyperledger Foundation](https://dlt.landscape2.io)
- [JSON Schema](https://landscape.json-schema.org)
- [LF AI & DATA](https://lfai.landscape2.io)
- [LF Energy](https://lfenergy.landscape2.io)
- [LF Networking](https://lfnetworking.landscape2.io)
Expand Down
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,76 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.9.0] - 2024-05-13

### Added

- Experimental overlay (#587)
- Improve search (#619)
- New embed card style (#622)
- Repository selector to item details view (#581)
- Not open source filter (#583)
- Repositories good first issues link (#582)
- Display parent project in item details view (#570, #568)
- Display loading spinner in controls bar (#579)
- Display package manager link in item details view (#609, 592)
- Display other links in item's detail view (#624)
- Organization region in items details view (#617)
- Make default view mode configurable (#574, #572)
- Make logos viewbox adjustments configurable (#577)
- Hide stats link when there are no stats available (#607)
- Open item details modal from zoom view (#620)
- Do not display empty groups in group selector (#606)
- Collect repositories topics from GitHub (#590)
- Some more options to logos preview (#594)
- Some tests to core crate (#613)

### Fixed

- Some issues in mobile devices (#612)
- Some issues with filters modal (#593)
- Badge url issue (#608)
- Participation stats legend in item details view (#616)
- Use additional categories on embed views (#623)
- Do not raise errors detecting mime type on deploy (#573)

### Changed

- Check logos checksum while deploying (#578)
- Use only orgs in data file when processing stats (#589)
- Use custom octorust client (#615)
- Upgrade CLI tool dependencies (#605)
- Upgrade web application and embed dependencies (#610)

## [0.8.1] - 2024-04-11

### Fixed

- Fix iframe resizer script path issue (#566)

## [0.8.0] - 2024-04-11

### Added

- Ability to classify cards by maturity, tag, or even not classify at all (#552)
- Allow sorting cards by multiple criteria (#552)
- New virtual group named `all`, that includes the cards from all groups (#552)
- Categories / subcategories headers now show how many items are on each (#552)
- Button to jump to the top of the page (#552)
- Category filter (#552)
- Display LinkedIn link in item details view (#548, #563)
- Allow setting web application base path (#557)

### Fixed

- Issue processing additional categories (#562)

### Changed

- Do not cache logos during build (#549)
- Minor refactoring and some improvements to instrumentation (#543, #547)
- Upgrade CLI dependencies (#550)

## [0.7.0] - 2024-03-19

### Added
Expand Down
Loading

0 comments on commit 517953f

Please sign in to comment.