Skip to content

Commit

Permalink
Update repo metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Virtlink committed Aug 1, 2024
1 parent 0ff25c7 commit cbee158
Show file tree
Hide file tree
Showing 7 changed files with 110 additions and 65 deletions.
65 changes: 65 additions & 0 deletions .github/ISSUE_TEMPLATE/20-report-a-bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
---
# !! THIS FILE WAS GENERATED USING repoman !!
# Modify `repo.yaml` instead and use `repoman` to update this file
# See: https://github.com/metaborg/metaborg-gradle/

name: "🐞 Report a Bug"
description: File a bug report or issue for any project in Stratego.
title: "[Bug]: "
labels:
- "Type-Bug"
- "State-Triage"
assignees:
- Apanatshka
body:
- type: dropdown
id: project
attributes:
label: For which project in this repository does the issue occur?
multiple: true
options:
- ":gpp"
- ":org.metaborg.meta.lang.stratego"
- ":stratego.build"
- ":stratego.build.spoofax2"
- ":stratego.lang"
- ":strategolib"
- type: textarea
attributes:
label: Version
description: The version of Spoofax or the commit of this project where the issue occurs.
validations:
required: false
- type: textarea
attributes:
label: Describe the issue
description: A clear and concise description of what the bug is.
validations:
required: false
- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Actual Behavior
description: A concise description of what happened instead.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
validations:
required: false
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images, log files, or an example project by clicking this area to highlight it and then dragging files in.
validations:
required: false
37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/bug-report.md

This file was deleted.

18 changes: 16 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
---
# !! THIS FILE WAS GENERATED USING repoman !!
# Modify `repo.yaml` instead and use `repoman` to update this file
# See: https://github.com/metaborg/metaborg-gradle/

blank_issues_enabled: false
contact_links:
- name: Spoofax Documentation
- name: 📚 Spoofax Documentation
url: https://www.spoofax.dev/
about: Documentation about Spoofax and all included Meta-Languages.
- name: Spoofax Support Page
- name: ⁉️ Spoofax Support Page
url: https://www.spoofax.dev/support
about: Information on Spoofax Support, and how to get in touch.
- name: 🙋🏽 Spoofax Users Channel
url: https://slde.slack.com/archives/C7254SF60
about: The Spoofax Users channel on Slack. See the Spoofax Support Page on how to gain access.
- name: 💬 Discussions
url: https://github.com/metaborg/stratego/discussions/
about: Alternatively, ask questions in the Discussions tab.
- name: 🛡️ Security issue
url: https://github.com/metaborg/stratego/security/advisories/new
about: Security issue? Do not report security issues publicly, but create a private advisory.
10 changes: 7 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
# !! THIS FILE WAS GENERATED USING repoman !!
# Modify `repo.yaml` instead and use `repoman` to update this file
# See: https://github.com/metaborg/metaborg-gradle/

name: 'Build & Publish'

on: # yamllint disable-line rule:truthy
Expand All @@ -13,7 +17,7 @@ jobs:
with:
gradle-command: |
gradle build
# Publish snapshots
# Publish snapshots
publish-snapshot:
uses: metaborg/actions/.github/workflows/gradle-publish.yaml@main
with:
Expand All @@ -26,15 +30,15 @@ jobs:
secrets:
METABORG_ARTIFACTS_USERNAME: ${{ secrets.METABORG_ARTIFACTS_USERNAME }}
METABORG_ARTIFACTS_PASSWORD: ${{ secrets.METABORG_ARTIFACTS_PASSWORD }}
# Publish releases
# Publish releases
publish-release:
uses: metaborg/actions/.github/workflows/gradle-publish.yaml@main
with:
gradle-command: |
gradle publish
gradle-version-command: |
gradle -q :printVersion
if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags/release-')"
if: "github.event_name == 'push' && startsWith(github.ref, 'refs/tags/devenv-release/')"
needs: [build]
secrets:
METABORG_ARTIFACTS_USERNAME: ${{ secrets.METABORG_ARTIFACTS_USERNAME }}
Expand Down
31 changes: 17 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,23 @@ See: https://github.com/metaborg/metaborg-gradle/
The Spoofax implementations of the Stratego language.


| Language | Latest Release | Latest Snapshot |
## Spoofax 3 Artifacts

| Spoofax Language | Latest Release | Latest Snapshot |
|----------|----------------|-----------------|
| `org.metaborg.devenv:gpp` | [![Release][mvn-rel-badge:org.metaborg.devenv:gpp]][mvn:org.metaborg.devenv:gpp] | [![Snapshot][mvn-snap-badge:org.metaborg.devenv:gpp]][mvn:org.metaborg.devenv:gpp] |
| `org.metaborg.devenv:org.metaborg.meta.lang.stratego` | [![Release][mvn-rel-badge:org.metaborg.devenv:org.metaborg.meta.lang.stratego]][mvn:org.metaborg.devenv:org.metaborg.meta.lang.stratego] | [![Snapshot][mvn-snap-badge:org.metaborg.devenv:org.metaborg.meta.lang.stratego]][mvn:org.metaborg.devenv:org.metaborg.meta.lang.stratego] |
| `org.metaborg.devenv:stratego.lang` | [![Release][mvn-rel-badge:org.metaborg.devenv:stratego.lang]][mvn:org.metaborg.devenv:stratego.lang] | [![Snapshot][mvn-snap-badge:org.metaborg.devenv:stratego.lang]][mvn:org.metaborg.devenv:stratego.lang] |
| `org.metaborg.devenv:strategolib` | [![Release][mvn-rel-badge:org.metaborg.devenv:strategolib]][mvn:org.metaborg.devenv:strategolib] | [![Snapshot][mvn-snap-badge:org.metaborg.devenv:strategolib]][mvn:org.metaborg.devenv:strategolib] |

| Artifact | Latest Release | Latest Snapshot |
| Maven Artifact | Latest Release | Latest Snapshot |
|----------|----------------|-----------------|
| `org.metaborg.devenv:stratego.build` | [![Release][mvn-rel-badge:org.metaborg.devenv:stratego.build]][mvn:org.metaborg.devenv:stratego.build] | [![Snapshot][mvn-snap-badge:org.metaborg.devenv:stratego.build]][mvn:org.metaborg.devenv:stratego.build] |
| `org.metaborg.devenv:stratego.build.spoofax2` | [![Release][mvn-rel-badge:org.metaborg.devenv:stratego.build.spoofax2]][mvn:org.metaborg.devenv:stratego.build.spoofax2] | [![Snapshot][mvn-snap-badge:org.metaborg.devenv:stratego.build.spoofax2]][mvn:org.metaborg.devenv:stratego.build.spoofax2] |




1. The `org.metaborg.meta.lang.stratego*` directories contain the old Stratego editor (_Stratego 1_ or _Stratego/XT 0.17_), which uses pre-compiled libraries from the _Stratego/XT_ project that can be found in the `strategoxt` repository of this organisation.
2. The `stratego.lang*` and `stratego.test`/`stratego.example` directories contain the current _Stratego 2_ effort.
3. The `stratego.build*` directories contain the Java code that glues together code in `stratego.lang` into the _Stratego 2_ incremental compiler.
Expand All @@ -46,22 +50,21 @@ Unless required by applicable law or agreed to in writing, software distributed
[license]: https://github.com/metaborg/stratego/blob/master/LICENSE.md
[github-badge:release]: https://img.shields.io/github/v/release/metaborg/stratego?display_name=release
[github:release]: https://github.com/metaborg/stratego/releases

[mvn:org.metaborg.devenv:gpp]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.devenv~gpp~~~
[mvn-rel-badge:org.metaborg.devenv:gpp]: https://img.shields.io/nexus/r/org.metaborg.devenv/gpp?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-snap-badge:org.metaborg.devenv:gpp]: https://img.shields.io/nexus/s/org.metaborg.devenv/gpp?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn:org.metaborg.devenv:org.metaborg.meta.lang.stratego]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.devenv~org.metaborg.meta.lang.stratego~~~
[mvn-rel-badge:org.metaborg.devenv:org.metaborg.meta.lang.stratego]: https://img.shields.io/nexus/r/org.metaborg.devenv/org.metaborg.meta.lang.stratego?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-snap-badge:org.metaborg.devenv:org.metaborg.meta.lang.stratego]: https://img.shields.io/nexus/s/org.metaborg.devenv/org.metaborg.meta.lang.stratego?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn:org.metaborg.devenv:stratego.build]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.devenv~stratego.build~~~
[mvn:org.metaborg.devenv:stratego.build.spoofax2]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.devenv~stratego.build.spoofax2~~~
[mvn:org.metaborg.devenv:stratego.lang]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.devenv~stratego.lang~~~
[mvn-rel-badge:org.metaborg.devenv:stratego.lang]: https://img.shields.io/nexus/r/org.metaborg.devenv/stratego.lang?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-snap-badge:org.metaborg.devenv:stratego.lang]: https://img.shields.io/nexus/s/org.metaborg.devenv/stratego.lang?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn:org.metaborg.devenv:strategolib]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.devenv~strategolib~~~
[mvn-rel-badge:org.metaborg.devenv:strategolib]: https://img.shields.io/nexus/r/org.metaborg.devenv/strategolib?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-snap-badge:org.metaborg.devenv:strategolib]: https://img.shields.io/nexus/s/org.metaborg.devenv/strategolib?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn:org.metaborg.devenv:stratego.build]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.devenv~stratego.build~~~
[mvn-rel-badge:org.metaborg.devenv:gpp]: https://img.shields.io/nexus/r/org.metaborg.devenv/gpp?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-rel-badge:org.metaborg.devenv:org.metaborg.meta.lang.stratego]: https://img.shields.io/nexus/r/org.metaborg.devenv/org.metaborg.meta.lang.stratego?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-rel-badge:org.metaborg.devenv:stratego.build]: https://img.shields.io/nexus/r/org.metaborg.devenv/stratego.build?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-snap-badge:org.metaborg.devenv:stratego.build]: https://img.shields.io/nexus/s/org.metaborg.devenv/stratego.build?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn:org.metaborg.devenv:stratego.build.spoofax2]: https://artifacts.metaborg.org/#nexus-search;gav~org.metaborg.devenv~stratego.build.spoofax2~~~
[mvn-rel-badge:org.metaborg.devenv:stratego.build.spoofax2]: https://img.shields.io/nexus/r/org.metaborg.devenv/stratego.build.spoofax2?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-rel-badge:org.metaborg.devenv:stratego.lang]: https://img.shields.io/nexus/r/org.metaborg.devenv/stratego.lang?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-rel-badge:org.metaborg.devenv:strategolib]: https://img.shields.io/nexus/r/org.metaborg.devenv/strategolib?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-snap-badge:org.metaborg.devenv:gpp]: https://img.shields.io/nexus/s/org.metaborg.devenv/gpp?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-snap-badge:org.metaborg.devenv:org.metaborg.meta.lang.stratego]: https://img.shields.io/nexus/s/org.metaborg.devenv/org.metaborg.meta.lang.stratego?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-snap-badge:org.metaborg.devenv:stratego.build]: https://img.shields.io/nexus/s/org.metaborg.devenv/stratego.build?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-snap-badge:org.metaborg.devenv:stratego.build.spoofax2]: https://img.shields.io/nexus/s/org.metaborg.devenv/stratego.build.spoofax2?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-snap-badge:org.metaborg.devenv:stratego.lang]: https://img.shields.io/nexus/s/org.metaborg.devenv/stratego.lang?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
[mvn-snap-badge:org.metaborg.devenv:strategolib]: https://img.shields.io/nexus/s/org.metaborg.devenv/strategolib?server=https%3A%2F%2Fartifacts.metaborg.org&label=%20
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import org.metaborg.convention.MavenPublishConventionExtension
plugins {
id("org.metaborg.convention.root-project")
alias(libs.plugins.gitonium)
// Set versions for plugins to use, only applying them in subprojects (apply false here).
id("org.metaborg.devenv.spoofax.gradle.langspec") version "0.1.41" apply false
alias(libs.plugins.spoofax.gradle.langspec) apply false
}

rootProjectConvention {
Expand All @@ -24,6 +23,7 @@ allprojects {
// Configure Gitonium before setting the version
gitonium {
mainBranch.set("master")
tagPrefix.set("devenv-release/")
}
version = gitonium.version
group = "org.metaborg.devenv"
Expand Down
10 changes: 3 additions & 7 deletions repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description: |
The Spoofax implementations of the Stratego language.
inceptionYear: "2007"

languages:
spoofax3Languages:
- group: "org.metaborg.devenv"
name: "gpp"
description: "GPP language"
Expand All @@ -24,7 +24,7 @@ languages:
name: "strategolib"
description: "Stratego 2 library"

libraries:
spoofax3Libraries:
- group: "org.metaborg.devenv"
name: "stratego.build"
description: "Stratego 2 incremental compiler"
Expand Down Expand Up @@ -53,14 +53,11 @@ developers:
name: "Jeff Smits"

files:
changelog:
generate: false
githubWorkflows:
publishRelease: true
publishSnapshot: true
githubIssueTemplates:
generate: true
update: true
assignDevelopers: true
useDiscussions: true
bugTypeLabel: "Type-Bug"
Expand All @@ -70,8 +67,7 @@ files:
featureRequestStateLabel: "State-Triage"
questionStateLabel: null
gradleRootProject:
update: true
createPublishTasks: true
generate: true
rootProjectName: "stratego-project"
includedProjects:
- name: ":gpp"
Expand Down

0 comments on commit cbee158

Please sign in to comment.