-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Reorganize bin/lein and bin/lein-pkg to make coordination easier #1996
Comments
What are the changes that need to be moved over? |
Hi! I have noted down the patch #1918 mostly, but yes, the Happy to take patches for this, they don't have to fix all the differences between lein-pkg and lein. |
lein-pkg and lein seem to have a lot of similar code. Is there a reason why a common included bash script is not used? This would help keep it DRY. |
Yeah, it's unfortunate that lein and lein-pkg doesn't share code. One of the issues is that people need to be able to download I'd love some way to have the shared code in a single file and some script that regenerates |
Option 1: Though this may not work if downstream package managers don't grab any of the other files. Option 2: ie.
Option 3: This would be like option 2 but with out the script to generate. This would keep the files completely separate, but increase the maintainability. |
Option 1 would not work – it would make lein installation more difficult than described at http://leiningen.org. That leaves us with option 2 and 3. From experience, option 2 tends to create somewhat confusing scripts. But if it's done properly and is well documented that is likely to be the best way to ensure that lein-pkg and lein is synced. I think option 3 would be the most realistic one if possible. |
I'm happy with the current situation for 2.6.0, but I'm keeping this open to consider options to automatically sync changes. |
lein
to lein-pkg
We've had some changes in
lein
that haven't been moved over tolein-pkg
.The text was updated successfully, but these errors were encountered: