Skip to content

Commit

Permalink
Updated README and remove obsolete files (eclipse-xtext#2155)
Browse files Browse the repository at this point in the history
Updated README and remove obsolete files

Signed-off-by: Christian Dietrich <[email protected]>
Co-authored-by: Sebastian Zarnekow <[email protected]>
  • Loading branch information
szarnekow authored Apr 19, 2023
1 parent 3dd1098 commit 579935e
Show file tree
Hide file tree
Showing 9 changed files with 402 additions and 164 deletions.
10 changes: 1 addition & 9 deletions NOTICE.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,7 @@ SPDX-License-Identifier: EPL-2.0
The project maintains the following source code repositories:

* https://github.com/eclipse/xtext
* https://github.com/eclipse/xtext-core
* https://github.com/eclipse/xtext-lib
* https://github.com/eclipse/xtext-extras
* https://github.com/eclipse/xtext-eclipse
* https://github.com/eclipse/xtext-web
* https://github.com/eclipse/xtext-maven
* https://github.com/eclipse/xtext-gradle
* https://github.com/eclipse/xtext-xtend
* https://github.com/eclipse/xtext-umbrella
* https://github.com/eclipse/xtext-website

## Third-party Content

Expand Down
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Eclipse Xtext
[![Gitter](https://badges.gitter.im/eclipse/xtext.svg)](https://gitter.im/eclipse/xtext?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

Mono repository.
# Eclipse Xtext™

Eclipse Xtext is a framework for the development of programming languages and [domain-specific languages](https://en.wikipedia.org/wiki/Domain-specific_language). It covers all aspects of a complete language infrastructure, from parser, over linker, compiler, or interpreter to fully-blown top-notch IDE integration for Eclipse and Web-based IDEs. Further, languages developed with Xtext can be integrated into editors supporting the [Language Server Protocol](https://github.com/Microsoft/language-server-protocol) (e.g. [VS Code](https://code.visualstudio.com/), [Eclipse Che](https://www.eclipse.org/che/)). Xtext comes with great defaults for all the necessary services. At the same time these can be easily tailored to your individual needs.

More information can be found on [xtext.org](http://xtext.org).

## Quick Access

- [All Open Pull Requests](https://github.com/search?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-website+&type=pullrequests)
- [All Open Issues](https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-website&type=issues&ref=searchresultsopen+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-website)
- [Good First Issues](https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-website+label%3A%22good+first+issue%22&type=issues)
- [All Open Issues of Milestone Release_2.31](https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.31+is%3Aopen+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-website&type=issues)
- [All Open Issues of Milestone Release_2.32](https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.32+is%3Aopen+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-website&type=issues)


## Developer Resources

- [Contributing](CONTRIBUTING.md): report bugs, setup your workspace, submit your changes, etc.
- [Quality Guidelines](QUALITY_GUIDELINES.md): how to craft high-quality code changes, commits and pull-requests.
- [Builds](Builds.md): details about the build infrastructure and release process.
103 changes: 0 additions & 103 deletions adjustPipelines.sh

This file was deleted.

10 changes: 0 additions & 10 deletions allDirectories

This file was deleted.

92 changes: 92 additions & 0 deletions dev-doc/MaintenanceTasks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Maintenance Tasks

This document describes things that need to be done during a simrel.

## Bump versions

With a final release the Xtext version has to be incremented. This is triggered automatically by the [sign-and-deploy job](https://ci.eclipse.org/xtext/job/releng/job/sign-and-deploy/) when a GA release is deployed. This triggers the [bot-updates job](https://ci.eclipse.org/xtext/job/releng/job/bot-updates/) with `UPDATE_TYPE=XTEXT-VERSION` and `UPDATE_VALUE=<NEW_MINOR_VERSION>`.

Wait for the builds of the branches, review and merge PRs.

For version updates in the micro or major version the [bot-updates job](https://ci.eclipse.org/xtext/job/releng/job/bot-updates/) has to be run manually. Please take care that the `SOURCE_BRANCH` parameter may be different than '`master`'.

## Xtend/Xtext Bootstrapping

Run [https://ci.eclipse.org/xtext/job/releng/job/bot-updates/build](https://ci.eclipse.org/xtext/job/releng/job/bot-updates/build) with parameters:

* `UPDATE_TYPE=XTEXT_BOOTSTRAP_VERSION`
* `UPDATE_VALUE=<Version to Bootstrap against>`
* `GIT_USER_NAME=<Your Full Name>`
* `GIT_USER_EMAIL=<Your GitHub/Eclipse Email Address>`

Wait for the builds of the branches, review and merge PRs.

## Prepare final simrel target platform

We offer for our `xtext-eclipse` and `xtext-xtend` the possibility to build against any target platform between the minimal and `latest`. Once a new simrel is out we need to add it to the list of the platforms. Here are the steps.

* In [xtext-eclipse](https://github.com/eclipse/xtext-eclipse)
* Adapt `Jenkinsfile`
* Add the new release to the `target_platform` choice.
* Add the new release to the snippet that adapts the `displayName`.
* Declare new profile in `releng/org.eclipse.xtext.tycho.parent/pom.xml`, `org.eclipse.xtext.ui.codemining/pom.xml` and `org.eclipse.xtext.ui.testing/pom.xml`.
* Create new target file at `releng/org.eclipse.xtext.target/` and register it in the `releng/org.eclipse.xtext.target/pom.xml`.
* In [xtext-xtend](https://github.com/eclipse/xtext-xtend)
* Adapt `Jenkinsfile`
* Add the new release to the `target_platform` choice.
* Add the new release to the snippet that adapts the `displayName`.
* Declare new profile in `releng/org.eclipse.xtend.tycho.parent/pom.xml`.
* Create new target file at `releng/org.eclipse.xtend.target/` and register it in the `releng/org.eclipse.xtend.target/pom.xml`.

## Update latest target platform

We build `xtext-eclipse` and `xtext-xtend` against the latest i-builds of platform and the latest milestone of the rest of the simrel. Thus with every version we have to adapt the target platforms.

* In [xtext-eclipse](https://github.com/eclipse/xtext-eclipse)
* In `releng/org.eclipse.xtext.target/org.eclipse.xtext.target-latest.target` use the latest i-build `https://download.eclipse.org/eclipse/updates/<number>-I-builds` and simrel `https://download.eclipse.org/releases/<version>`
* In [xtext-xtend](https://github.com/eclipse/xtext-xtend)
* In `releng/org.eclipse.xtend.target/org.eclipse.xtend.target-latest.target` use the latest i-build `https://download.eclipse.org/eclipse/updates/<number>-I-builds` and simrel `https://download.eclipse.org/releases/<version>`
* The simrel `https://download.eclipse.org/releases/<version>` needs also to be used in `./xtext-eclipse/org.eclipse.xtext.xtext.ui.examples/projects/domainmodel/org.eclipse.xtext.example.domainmodel.releng/tp/domainmodel.target` and `xtext-core` in `TargetPlatformProject` + tests adapted (`CliWizardIntegrationTest`)

## Update Orbit

Once Eclipse Orbit provides us with a new simrel orbit alias update site (e.g. `https://download.eclipse.org/tools/orbit/downloads/2019-12`) then we need to adapt our target platforms and the wizard to use it.

Run [https://ci.eclipse.org/xtext/job/releng/job/bot-updates/build](https://ci.eclipse.org/xtext/job/releng/job/bot-updates/build) with parameters:

* `UPDATE_TYPE=ORBIT_URL`
* `UPDATE_VALUE=<New Orbit URL>`
* `GIT_USER_NAME=<Your Full Name>`
* `GIT_USER_EMAIL=<Your GitHub/Eclipse Email Address>`

Wait for the builds of the branches, review and merge PRs.

## Update Oomph Setup for new SimRel

* Open `xtext-eclipse/releng/org.eclipse.xtext.contributor/Xtext.setup`
* Modify variable `p2.orbit` with the new Orbit URL for the release to `https://download.eclipse.org/tools/orbit/downloads/YYYY-MM`
* Modify variable `eclipse.target.platform`
* Add Choice entry for the new release (`value=YYYY-MM, label='Eclipse YYYY-MM - 4.NN'`)
* Set default value to new `YYYY-MM` value
* Open _Eclipse Support / Modular Target / Xtext Target Platform_
* Copy the _Repository List_ entry of the latest release and paste it. Rename it to the new SimRel name.
* From the previously copied _Repository List_ remove the `I-builds` repository entry
* In the new _Repository List_ update the `I-builds` repository entry to the next Eclipse Platform version

## Adapt API-Diff jobs

* Adapt the jobs [Jenkinsfile](https://github.com/xtext/xtext-apidiff/blob/master/Jenkinsfile) and change the choices for old and new version.
* Adapt the jobs [script](https://github.com/xtext/xtext-apidiff/blob/master/create-api-diff.sh)
* Introduce a new section for the current release.
* Adapt the nightly section to the current in-development release.
* Adapt the "Downloading Eclipse" section to pick the current release.

## Update Xtext Reference Projects

The repository [xtext-reference-projects](https://github.com/itemis/xtext-reference-projects) contains a set of projects that are created by the project wizard, and the Domainmodel example. These projects are built by TravisCI.

After each release a new set of projects should be added. Follow the instructions in the repository's [README](https://github.com/itemis/xtext-reference-projects/blob/master/README.md).

## Marketplace

With each release the Marketplace composite site descriptors have to be adjusted. The update steps are described in https://github.com/eclipse/xtext/blob/master/Builds.md#preparing-milestones-and-releases.
30 changes: 30 additions & 0 deletions dev-doc/RegenerateLanguages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Regenerate Languages

This document describes the necessary steps to regenerate the test- and production Xtext languages.

1. Execute the following `MWE2` workflows and Java Main-classes from Eclipse
```
org.eclipse.xtext.tests/src/org/eclipse/xtext/GenerateAllTestLanguages.mwe2
org.eclipse.xtext.testlanguages/src/org/eclipse/xtext/testlanguages/GenerateTestLanguages.mwe2
org.eclipse.xtext.ide.tests/testlang-src/org/eclipse/xtext/ide/tests/testlanguage/GenerateTestLanguage.mwe2
org.eclipse.xtext.xtext.bootstrap/src/org/eclipse/xtext/xtext/bootstrap/GenerateXtext.mwe2
org.eclipse.xtext.xbase/generator/org/eclipse/xtext/xbase/GenerateXbase.java
org.eclipse.xtext.purexbase/src/org/eclipse/xtext/purexbase/GeneratePureXbase.mwe2
org.eclipse.xtext.builder.standalone.tests/src/org/eclipse/xtext/builder/tests/GenerateBuilderTestLanguages.mwe2
org.eclipse.xtext.common.types.tests/src/org/eclipse/xtext/common/types/xtext/ui/GenerateTypesTestLanguages.mwe2
org.eclipse.xtext.extras.tests/src/org/eclipse/xtext/GenerateAllTestLanguages.mwe2
org.eclipse.xtext.xbase.testlanguages/src/org/eclipse/xtext/xbase/testlanguages/GenerateXbaseTestLanguages.mwe2
org.eclipse.xtext.builder.tests\src\org\eclipse\xtext\builder\tests\GenerateBuilderTestLanguages.mwe2
org.eclipse.xtext.common.types.eclipse.tests\src\org\eclipse\xtext\common\types\xtext\ui\GenerateTypesTestLanguages.mwe2
org.eclipse.xtext.ui.codetemplates\src\org\eclipse\xtext\ui\codetemplates\GenerateCodetemplateLanguages.mwe2
org.eclipse.xtext.ui.tests\src\org\eclipse\xtext\ui\tests\GenerateTestLanguages.mwe2
org.eclipse.xtext.xtext.ui.examples\projects\arithmetics\org.eclipse.xtext.example.arithmetics\src\org\eclipse\xtext\example\arithmetics\GenerateArithmetics.mwe2
org.eclipse.xtext.xtext.ui.examples\projects\domainmodel\org.eclipse.xtext.example.domainmodel\src\org\eclipse\xtext\example\domainmodel\GenerateDomainmodel.mwe2
org.eclipse.xtext.xtext.ui.examples\projects\fowlerdsl\org.eclipse.xtext.example.fowlerdsl\src\org\eclipse\xtext\example\fowlerdsl\GenerateStatemachine.mwe2
org.eclipse.xtext.xtext.ui.examples\projects\homeautomation\org.eclipse.xtext.example.homeautomation\src\org\eclipse\xtext\example\homeautomation\GenerateRuleEngine.mwe2
org.eclipse.xtext.xtext.ui.tests\generator\org\eclipse\xtext\xtext\ui\ecore2xtext\GenerateEcore2XtextTestGrammar.mwe2
org.eclipse.xtext.xtext.ui.tests\src\org\eclipse\xtext\xtext\ui\GenerateTestLanguages.mwe2
org.eclipse.xtext.web.example.entities/src/org/eclipse/xtext/web/example/entities/GenerateEntities.mwe2
org.eclipse.xtext.web.example.statemachine/src/org/eclipse/xtext/web/example/statemachine/GenerateStatemachine.mwe2
org.eclipse.xtend.core/src/org/eclipse/xtend/core/GenerateXtend.mwe2
```
Loading

0 comments on commit 579935e

Please sign in to comment.