-
Notifications
You must be signed in to change notification settings - Fork 35
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
Duplicate predefined counter styles (allows atoms crate to be published) #99
base: main
Are you sure you want to change the base?
Duplicate predefined counter styles (allows atoms crate to be published) #99
Conversation
ec7f866
to
6c6df99
Compare
@@ -22,7 +22,7 @@ fn main() { | |||
} | |||
} | |||
} | |||
include!("../style/counter_style/predefined.rs"); | |||
include!("./predefined_counter_styles.rs"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A better way to do this would probably be to have the import script duplicate this file into the atoms directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did think about that but this directory doesn't exist at import time either (at least not when calling git filter-repo) because it's not upstream. I suppose we could add a post rebase step to sync and squash this file? But that seems like it might be quite fragile?
Any ancestors of this commit are from upstream mozilla-central, with some filtering and renaming. Our patches and sync tooling start here. The sync tooling has all been squashed into this commit, based on: https://github.com/servo/stylo/commits/64731e10dc8ef87ef52aa2fb9f988c3b2530f3a7
This is a rebase of 42990da Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
Signed-off-by: Oriol Brufau <[email protected]>
…d` (servo#128) Signed-off-by: Euclid Ye <[email protected]>
Signed-off-by: Nico Burns <[email protected]>
6c6df99
to
394c1e6
Compare
This fix unblocks the
atoms
crate from being published on crates.io. I did look at having the python script which generates the file generate it into both locations. But that doesn't work because theatoms
crate doesn't exist upstream. I think a simple duplication is probably the best approach. The rest of the static atom values are maintained manually anyway.