-
Notifications
You must be signed in to change notification settings - Fork 103
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
Func to fixup existing pkg #483
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #483 +/- ##
==========================================
- Coverage 94.33% 90.19% -4.15%
==========================================
Files 24 25 +1
Lines 742 785 +43
==========================================
+ Hits 700 708 +8
- Misses 42 77 +35 ☔ View full report in Codecov by Sentry. |
Thank you for these contributions! |
Ah ok, good to know, thanks! I'm also now seeing #478 @abelsiqueira I've dabbled a bit with BestieTemplate.jl and having the update functionality is definitely a huge win. Maybe I'll abuse this thread here to ask a few questions/add some thoughts:
To elaborate a bit on (1), I've found it very easy to add functionality here since it's all Julia and the docs for devs are comprehensive. To give you a concrete example, how easy do you think it would be to contribute something like #482 to Bestie? As for point (2), it says in Bestie's docs:
I think this is a great feature and it would be a shame to lose it entirely. For example, I have been trying to leverage this functionality here to add a custom package template for Taija. I've continued to work on this even after hearing about Bestie at JuliaCon, because it seemed to me like the most straightforward pure-Julia approach. Happy to instead focus my efforts on Bestie, these are just a few questions/concerns I've had so far, so what be great to hear your thoughts :) |
Trying to reanimate #288 here to add support for a
fixup
function. I've tried to address the suggestions made here:Additions
fixup
function now backs up the current state of the package in a temporary directory, instead of solely relying on Git.fixup
is added with a_fixed.md
suffix. The user will receive an info message that they may need to move contents from the existing README into the new one and then overwrite the existing file with the new file.JuliaFormatter.format("src")
).Point (2) is clearly not optimal: ideally
fixup
would overwrite/add whatever is necessary to comply with the new template and keep existing content. I am not sure this can be done though and personally think it would be better to have mediocrefixup
functionality than none at all?