-
Notifications
You must be signed in to change notification settings - Fork 11
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
Question about upstreaming changes from fork #56
Comments
hey @hasezoey, thanks for reaching out. It's really great to see some of those changes which were on my mind (especially
Feel free to pull any of the rest in and let me know if you need help with anything |
in the fork, with every option added i tried to keep the default as the upstream version would generate, but have the option to change it
yes you could say it is a hardcoded-list, "necessary" as in only have the diesel derives which are actually necessary for the particular struct, like a
as with the previous question on why i didnt make it the default,
i made a file-mode so that the user can decide how to handle the files (3 options, overwrite, dsync_new, none), but personally i didnt actually use it and though it would be a nice-to-have, but could certainly be left out ( |
for the first round of changes i have made the bare things required to get a proper setup going and base changes that other things will require / would be good to have: |
btw i noticed that only as for the next changes, i would like to know before doing them if they are actually wanted:
|
Thanks for the replies! I appreciate that you thought of backwards-compatibility. Let's make "squash and merge" is great for small projects like this, but if you'd like, I can re-enable merge commits. Let me know :) I'm okay with the other two changes as well. For 'split binary and library', although it'll increase complexity, I'm hoping compile time will decrease for those using dsync as a library. |
i think rebase and merge would be good for this, it will keep the commits intact, but lessens the amount of "mess" in the git history (git log). intact commit should make git blame and git bisect (if necessary) easier to find the cause of instead of massive commits |
Done :) |
actually now that i look at it after having merged #57, it seems like option so i guess the only other options are to manually merge it locally, squash merge or merge commit merge (or asking the PR authors to rebase manually) |
Let’s skip the --no-impls changes since we merged in the --no-crud PR |
as for TL;DR:
|
Thanks for the summaries -- I think all of them except The original reason for having a Someone using If you think we should move to |
i basically have now all required things from the fork either merged or open as a PR, though there are some additional things from the fork:
|
this should be a lot easier to work with also this change only includes necessary derives for a struct (re Wulf#56)
to set tables to only generate StructType::Read re Wulf#56
actually now that i look at some of the changes in the fork again, there is one thing i missed: doc-comments. is this something we should do and when yes, can the doc-comments be improved? |
It's a good question. I like this idea and I think we can make it more beneficial by adding examples of how to use the structs and fns. |
this should be a lot easier to work with also this change only includes necessary derives for a struct (re Wulf#56)
this should be a lot easier to work with also this change only includes necessary derives for a struct (re Wulf#56)
to set tables to only generate StructType::Read re Wulf#56
to set tables to only generate StructType::Read re Wulf#56
i am sure i now have all the changes from the fork upstreamed (excluded the extra file modes and separating library & binary), so i will now close this issue (and after a version gets released put up a note on the fork) |
Hello, because this project was inactive for some time, i had made a fork and added some features to it, i would like to know if i should upstream the changes and when yes which?
list of changes can be found in the forks CHANGELOG
PS: i know this should likely not be a issue, but github discussions is not enabled for this project
The text was updated successfully, but these errors were encountered: