Skip to content

Commit 0f638c5

Browse files
TuThoThaiskinkieAurigethbar
authored
Update v2.1-wip branch from v2.0 (#1023)
* Fix faulty descriptions Documentation changes in the XSD for `FreeRecharging`, `Cage`, `RemoteControl`, `LocalControl` and `LockingMechanism` Refer to #999 for more details * Buggy SIRI import fix (#1001) The SIRI import is probably coming from a SIRI copy/paste since the NeTEx occupancy is following the SIRI one. The NaturalLanguageStringStructure is not NeTEx type, and is only used in this file, and doesn't follow NeTEx style/rules The SIRI import is crashing some generic NeTEx (and SIRI) import in some implementation (one of them being OpRa). The reason for this crash is difficult to analyse (and depending on the validation engine), but basically related to object redefinition. As a result this import was a useless and dangerous breaking change and has to be removed. * Edit changelog and readme (#997) * Update changelog * Remove redundancy with readme * Remove duplicates in the changelog details for v1.1.0 * Correct hierarchy of changelog for v1.0.9 and v1.0.8 * Delete change_log.md Remove redundant file * Fix link to CHANGELOG in README * Rename 'Change log' to 'Changelog' * Update README.md Co-authored-by: Thibaut Barrère <thibaut.barrere@gmail.com> * Update readme - typo (#1010) Update typo in the name of elements in the repo * Edit repo url after move + fix new org CI failures (#1015) 2 parts Pull Request Part 1: Edit the repo URL in - README.md - CHANGELOG.md - xsd/netex_part_1/part1_tacticalPlanning/netex_routingConstraint_version.xsd The change was to replace "NeTEx-CEN" with "TransmodelEcosystem" Part 2: Fix failing CI after moving the repo - Test CI after org migration (#1018) - Test: break indentation to trigger CI lint commit (#1018) - Try to fix CI (#1018): grant write permissions to workflow token - Lint and update documentation tables --------- Co-authored-by: Thibaut Barrère <thibaut.barrere@gmail.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Add some logic to prevent #982 from happening again (#1022) Ensure that - v2.1-wip branch is up to date from v2.0 before merging any PR - v3.0-wip branch is up to date from v2.1-wip before merging any PR --------- Co-authored-by: Stefan de Konink <stefan@konink.de> Co-authored-by: Christophe Duquesne <christophe.duquesne@aurigetech.com> Co-authored-by: Thibaut Barrère <thibaut.barrere@gmail.com>
1 parent a94e5e1 commit 0f638c5

9 files changed

Lines changed: 92 additions & 3088 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Block PRs targeting wip branches (v2.1-wip, v3.0-wip) when they are
2+
# behind their parent branch (v2.0 and v2.1-wip respectively).
3+
# This prevents unpropagated commits from accumulating, which leads to
4+
# costly backports of many commits generating large conflicts.
5+
# See https://github.com/TransmodelEcosystem/NeTEx/issues/982
6+
7+
name: Check parent branch is up to date
8+
9+
on:
10+
pull_request:
11+
branches: [v2.1-wip, v3.0-wip]
12+
13+
jobs:
14+
parent-branch-is-up-to-date:
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Verify base branch contains all parent commits
22+
run: |
23+
case "${{ github.base_ref }}" in
24+
v2.1-wip) parent=v2.0 ;;
25+
v3.0-wip) parent=v2.1-wip ;;
26+
esac
27+
28+
behind=$(git rev-list --count "origin/${{ github.base_ref }}..origin/$parent")
29+
if [ "$behind" -gt 0 ]; then
30+
echo "::error::${{ github.base_ref }} is $behind commit(s) behind $parent. Merge $parent into ${{ github.base_ref }} first."
31+
git log --oneline "origin/${{ github.base_ref }}..origin/$parent"
32+
exit 1
33+
fi

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: CI
22

33
on: push
44

5+
permissions:
6+
contents: write
7+
58
jobs:
69
run:
710
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 34 additions & 791 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ This repository contains the XML Schemas (XSD) for:
2424
In each branch, we have:
2525
- The folder `xsd` in which all the XML schemas can be found,
2626
- The folder `examples` in which all examples can be found,
27-
- At the root folder, `Siri.spp` which is the project for XMLSpy and `Siri.xpr` for Oxygen.
27+
- At the root folder, `NeTEx.spp` which is the project for XMLSpy and `NeTEx.xpr` for Oxygen.
2828

2929
The `xsd` folder is sub-divided as follow:
3030
- `gml` for all geometry-related elements,
31-
- `netex_framlework` for all shared components and frames,
31+
- `netex_framework` for all shared components and frames,
3232
- one sub-folder per NeTEx Part (from 1 to 5),
3333
- other complementary sub-folders.
3434
At the root of the `xsd` folder, the file `NeTEx_publication.xsd` should be used as the main one for production and validation purposes. It includes references to all the other XSD.
@@ -37,10 +37,10 @@ At the root of the `xsd` folder, the file `NeTEx_publication.xsd` should be used
3737

3838
| Branch Name | Description | Maintenance status | Link |
3939
| ----------- | ------------------------------------------------------- | ----------------------------------------------- |-----------------------------------------------
40-
| v2.0 | The last stable branch of the XML Schema, result of the NeTEx revision made during 2022-2026 | Bug fixes only | [Direct link](https://github.com/NeTEx-CEN/NeTEx) |
41-
| v1.3 | The previous branch of the XML Schema that was published prior to the 2026 revision of NeTEx, it matches the state of the XSD at the date of the publication of Part 6 (CEN/TS 16614-6:2024) with the correction of bugs and typos -- **Important note**: this branch is not longer maintained | Not maintained | [Direct link](https://github.com/NeTEx-CEN/NeTEx/tree/v1.3) |
42-
| v2.1-wip | All the upcoming work to improve v2.0 | In development | [GitHub](https://github.com/NeTEx-CEN/NeTEx/tree/v2.1-wip) |
43-
| v3.0-wip | All the upcoming work preparing the migration from CEN/TS to CEN/EN for the entire NeTEx series | In development | [GitHub](https://github.com/NeTEx-CEN/NeTEx/tree/v3.0-wip) |
40+
| v2.0 | The last stable branch of the XML Schema, result of the NeTEx revision made during 2022-2026 | Bug fixes only | [Direct link](https://github.com/TransmodelEcosystem/NeTEx) |
41+
| v1.3 | The previous branch of the XML Schema that was published prior to the 2026 revision of NeTEx, it matches the state of the XSD at the date of the publication of Part 6 (CEN/TS 16614-6:2024) with the correction of bugs and typos -- **Important note**: this branch is not longer maintained | Not maintained | [Direct link](https://github.com/TransmodelEcosystem/NeTEx/tree/v1.3) |
42+
| v2.1-wip | All the upcoming work to improve v2.0 | In development | [GitHub](https://github.com/TransmodelEcosystem/NeTEx/tree/v2.1-wip) |
43+
| v3.0-wip | All the upcoming work preparing the migration from CEN/TS to CEN/EN for the entire NeTEx series | In development | [GitHub](https://github.com/TransmodelEcosystem/NeTEx/tree/v3.0-wip) |
4444

4545
All other branches are considered as feature branches, meaning that they are used for development only and are to be deleted once a Pull Request is merged. See below for more details on contributions.
4646

@@ -92,7 +92,7 @@ The folder contains more comprehensive NeTEx files that aim to represent either
9292

9393
### Starting a discussion 💬
9494

95-
Either for a modelling question or a request for change, please start a discussion using the [GitHub issues](https://github.com/NeTEx-CEN/NeTEx/issues).
95+
Either for a modelling question or a request for change, please start a discussion using the [GitHub issues](https://github.com/TransmodelEcosystem/NeTEx/issues).
9696
In your issue, make sure that:
9797
- The title is a clear summary of your question / requst for change,
9898
- The content sufficiently details:
@@ -114,21 +114,21 @@ _Upcoming: templates for Pull Request_
114114

115115
----
116116

117-
## Change log 📰
117+
## Changelog 📰
118118

119119
### Releases
120120
| Release Number | Release Date | Description | Link |
121121
| -------------- | ------------- | ---------------------------------------------- | ------------- |
122-
| v1.2 | March 2022 | Before the extension to alternative modes of operation | [Code](https://github.com/NeTEx-CEN/NeTEx/releases/tag/v1.2) |
123-
| v1.2.2 | August 2023 | With the inclusion of NeTEx Part 5 (Alternative modes) | [Code](https://github.com/NeTEx-CEN/NeTEx/releases/tag/v1.2.2) |
124-
| v1.2.3 | May 2024 | Improvement on the v1.2.2 before the release of NeTEx Part 6 (EPIAP) | [Code](https://github.com/NeTEx-CEN/NeTEx/releases/tag/v1.2.3) |
125-
| v1.3.1 | May 2024 | Release of NeTex Part 6, the European Passenger Information Accessibility Profile (EPIAP) | [Code](https://github.com/NeTEx-CEN/NeTEx/releases/tag/v1.3.1) |
126-
| v2.0.0 | February 2026 | Matches the CEN documentation published in February 2026 for NeTEx Parts 1, 2, 3 and 5. Considered as the latest version of NeTEx to be used for production. | [Code](https://github.com/NeTEx-CEN/NeTEx/releases/tag/v2.0.0) |
122+
| v1.2 | March 2022 | Before the extension to alternative modes of operation | [Code](https://github.com/TransmodelEcosystem/NeTEx/releases/tag/v1.2) |
123+
| v1.2.2 | August 2023 | With the inclusion of NeTEx Part 5 (Alternative modes) | [Code](https://github.com/TransmodelEcosystem/NeTEx/releases/tag/v1.2.2) |
124+
| v1.2.3 | May 2024 | Improvement on the v1.2.2 before the release of NeTEx Part 6 (EPIAP) | [Code](https://github.com/TransmodelEcosystem/NeTEx/releases/tag/v1.2.3) |
125+
| v1.3.1 | May 2024 | Release of NeTex Part 6, the European Passenger Information Accessibility Profile (EPIAP) | [Code](https://github.com/TransmodelEcosystem/NeTEx/releases/tag/v1.3.1) |
126+
| v2.0.0 | February 2026 | Matches the CEN documentation published in February 2026 for NeTEx Parts 1, 2, 3 and 5. Considered as the latest version of NeTEx to be used for production. | [Code](https://github.com/TransmodelEcosystem/NeTEx/releases/tag/v2.0.0) |
127127

128128
**Important notes:**
129129
- Releases (and their tags) are a snapshot of the corresponding working branch in time.
130130
- For any official reference to a NeTEx version, it is recommended to point to a 2-digit version (e.g., v1.3, v2.0).
131131
- For any development work, it is recommended to use the latest 3-digit version of NeTEx XML Schema.
132132

133133
### Comprehensive version history
134-
The comprehensive versions history is available in [change_log.md](https://github.com/NeTEx-CEN/NeTEx/blob/v2.0/change_log.md)
134+
The comprehensive versions history is available in [CHANGELOG.md](https://github.com/TransmodelEcosystem/NeTEx/blob/v2.0/CHANGELOG.md)

0 commit comments

Comments
 (0)