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

Delete OreSatId, NodeId #43

Merged
merged 2 commits into from
Nov 9, 2024
Merged

Delete OreSatId, NodeId #43

merged 2 commits into from
Nov 9, 2024

Conversation

ThirteenFish
Copy link
Contributor

OreSatId has been replaced by Consts and NodeId by Card/card.csv. At this point I believe all other projects using these classes have been updated.

OreSatId has been replaced by Consts and NodeId by Card/card.csv. At
this point I believe all other projects using these classes have been
updated.
Copy link
Member

@ryanpdx ryanpdx left a comment

Choose a reason for hiding this comment

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

I is good to see NodeId go, but I am sad to se OreSatId go

Could we add an alias for Consts with a better name? Consts is to generic

@ThirteenFish
Copy link
Contributor Author

Sure, thoughts on name? MissionConsts is a natural candidate since it's an enum of Mission.

@ryanpdx
Copy link
Member

ryanpdx commented Nov 8, 2024

MissionConsts would be great

Consts by itself was found to be a bit too generic. While I had
initially proposed Consts->MissionConsts I think it works out a bit
better to do it the way in the title. Mission.default() or
Mission.ORESAT0 reads a bit better and the dataclass is where the actual
consts are.

This will break all the other projects using oresat-configs but I don't
really want to go through a backwards compatible release process to
smoothly fix up everything. I'll try to patch what we have and hopefully
anything I miss will yell loudly.
Copy link
Member

@ryanpdx ryanpdx left a comment

Choose a reason for hiding this comment

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

Using Mission instead of Consts is great!

@ThirteenFish ThirteenFish merged commit c0c0ec2 into master Nov 9, 2024
1 check passed
@ThirteenFish ThirteenFish deleted the remove-ids branch November 9, 2024 20:15
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.

2 participants