Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add helper script for creating new type versions #387

Open
magnusbaeck opened this issue Jan 4, 2024 · 0 comments
Open

Add helper script for creating new type versions #387

magnusbaeck opened this issue Jan 4, 2024 · 0 comments
Assignees

Comments

@magnusbaeck
Copy link
Member

Description

Adding new versions of events (or other types) is rather painful, at least if you want to do it for multiple types; you need to locate the latest event version, bump the appropriate digit, copy the hitherto latest version to a new file (and after #341 has been implemented, update the new file with the new version). We should write a simple script that does this chore for select types and choice of magnitude for the update (major/minor/patch). It should also add an entry to the history table.

Motivation

This will make it much less tedious to make bulk updates of types.

Exemplification

To create a new minor version of all activity events the command could look like this:

./bump_version.py minor EiffelActivity*Event

Benefits

Obvious.

Possible Drawbacks

None.

@magnusbaeck magnusbaeck self-assigned this Jan 4, 2024
@magnusbaeck magnusbaeck moved this to Todo in Eiffel Protocol Jan 4, 2024
@magnusbaeck magnusbaeck moved this from Todo to In Progress in Eiffel Protocol Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

No branches or pull requests

1 participant