Skip to content

Conversation

@magnusbaeck
Copy link
Member

Applicable Issues

Closes #130

Description of the Change

Updating schemas to the Paris edition effectively means stepping up ArtP and CD to v3.1.0, but only the former actually affects the schemas.

Some of the generated files that were present prior to this commit appear to have been modified after they were generated, i.e. regenerating them introduced various non-consequential changes (whitespace and/or line endings).

The copyright header in each file was retained though, although we should update the code that generates the files to keep the header. I've filed #133 for this.

Alternate Designs

None.

Benefits

Latest protocol edition available to REMReM users.

Possible Drawbacks

None.

Sign-off

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or

(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or

(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.

(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

Signed-off-by: Magnus Bäck <[email protected]>

Copy link
Member

@SantoshNC68 SantoshNC68 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it a minor change or a major change ?
Updating the protocol version can be considered a major change?

@magnusbaeck
Copy link
Member Author

If you're thinking of what component of the version number to bump I'd say it's an update of the minor version. I presume you're using semantic versioning, and a major version bump would imply a backwards-incompatible change. The update from Agen-1 to Paris is backwards-compatible.

@SantoshNC68
Copy link
Member

If you're thinking of what component of the version number to bump I'd say it's an update of the minor version. I presume you're using semantic versioning, and a major version bump would imply a backwards-incompatible change. The update from Agen-1 to Paris is backwards-compatible.

Ok, I was refering to semantic versioning. I see that the changes are backward compatible and since it was a new version wanted to check if we needed to release a major vesion.

Now I approve the changes.

@magnusbaeck
Copy link
Member Author

@eiffel-community/eiffel-remrem-maintainers, please have a look at this PR so that we can update REMReM to support the current edition of the protocol.

Copy link

@raja-maragani raja-maragani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of changes are code format changes, Could you please revert the format change and place only changes related to Paris?

@magnusbaeck
Copy link
Member Author

Most of changes are code format changes, Could you please revert the format change and place only changes related to Paris?

No. These are autogenerated files and hand-editing them makes no sense at all. But I should've split this commit in two; one that generated the files from the old edition of the schemas (resulting in a pure reformatting commit) and one that stepped up to Paris. The end state would've been the same though.

Updating the code in this repository when a new edition is released should be something that can be automated entirely. Instead I spent hours dealing with the incorrect line endings (mix of CR/LF and LF), retaining copyright headers, and fixing the bugs that caused the generation to only work on Windows (fixed in #135).

@raja-maragani
Copy link

Most of changes are code format changes, Could you please revert the format change and place only changes related to Paris?

No. These are autogenerated files and hand-editing them makes no sense at all. But I should've split this commit in two; one that generated the files from the old edition of the schemas (resulting in a pure reformatting commit) and one that stepped up to Paris. The end state would've been the same though.

Updating the code in this repository when a new edition is released should be something that can be automated entirely. Instead I spent hours dealing with the incorrect line endings (mix of CR/LF and LF), retaining copyright headers, and fixing the bugs that caused the generation to only work on Windows (fixed in #135).

@magnusbaeck Great! Please make two PR's.

@m-linner-ericsson
Copy link
Member

@raja-maragani Are you waiting for this to be split into two PRs?

@raja-maragani
Copy link

@raja-maragani Are you waiting for this to be split into two PRs?

Yes @m-linner-ericsson

@magnusbaeck
Copy link
Member Author

I've filed #136 for fixing the autogenerated files. I hope I'll be able to work on that tomorrow. Once that PR is in I'll update this one.

@magnusbaeck magnusbaeck marked this pull request as draft April 20, 2021 13:50
This effectively means stepping up ArtP and CD to v3.1.0, but only
the former actually affects the schemas.

Regenerating the files deletes the copyright header in each file,
but the header was retained.
@magnusbaeck magnusbaeck marked this pull request as ready for review June 4, 2021 14:44
Copy link

@raja-maragani raja-maragani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@m-linner-ericsson m-linner-ericsson merged commit 70a1ec6 into eiffel-community:master Aug 11, 2021
@magnusbaeck magnusbaeck deleted the paris branch July 5, 2022 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to Paris edition of protocol

4 participants