You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason will be displayed to describe this comment to others. Learn more.
@jagajaga You've been involved in the "vim-plugins" update. But why did you sort the plugin names? This clearly shows me that you don't understand the derivation generation at all. It is important to keep plugins which get derived automatically from vim-pi separate so that all of those can be updated in one go because updating single derivations is too much work (IMHO). Do you agree? So would you be fine If I created a bug report soon which reverts this patch keeping the changes made after it ? If you don't know what I'm talking about contact me on irc, please so that we can discuss
The reason will be displayed to describe this comment to others. Learn more.
And again you've dropped important comments you think are useless: all
# unkown by vim-pi ?# not git version in vim-pi
lines without taking notes in your comment about why you do it (without asking the one who did added those commits).
Let me explain: the first comment says it should be added to vim-pi so that they can be derived automatically. The second comment says that it looks like the versions are different so again this should be resolved in vim-pi eg by adding the github url in order to update plugins more easily in the future.
doesn't work well. Indeed it doesn't fetch revisions and shas. Maybe I'm doing smth wrong.
I've wrote a script (https://gist.github.com/jagajaga/3c7ba009ee6756e12978) that helps me to create a drv.
Based on a result of that I've sorted plugins to easily collect them, update via my script and edit this default.nix.
Maybe you show me the real work how you update these drvns, and after that we will merge out ideas.
And also the reason why I've sorted them - is just my honest opinion to make it look nicer.
The reason will be displayed to describe this comment to others. Learn more.
Maybe its hard to understand what "path_to_nixpkgs" means? I agree hat I should improve error reporting.
The code I wrote automatically fetches dependencies (as known by VAM (addon-info.json files)). Thus looking for all derivations to replace is tiresome compared to "delete everything generated by nix#Export.. and reinsert everything" which is pretty fast. You're right that sorting by name is "prettier". So maybe I should improve the code generating the nix derivations to sort by key? Assuming that replacing all derivations at once is fastest best we can do is have this { A .. Z # now vam#nixExport .. generated start: A .. Z} which means having two sections within which the plugins are sorted. To make this clearer to users we could refactor and have two files as well. Would this satisfy you ?
The reason will be displayed to describe this comment to others. Learn more.
Indeed you've found a bug by my not checking exit code of System in nix.vim (fixed). Pull request for nixpkgs is here: #5212
The next time try to contact the author/maintainer if something obvious is wrong (such as empty sha256)
Can you really imagine me wanting to spend time on such repetitive tasks after having started vim-pi and VAM? :-) You're welcome. Please provide feedback about the patch above.
Things should be easier now. In the end we all want the same: less work and more fun
The reason will be displayed to describe this comment to others. Learn more.
I personally don't think its making anything better because devs will miss it and it can get out of sync. Can you help me understand why documentation shoud be put on the wiki instead?
On December 3, 2014 3:04:29 AM Marc Weber ***@***.*** wrote:
I personally don't think its making anything better because devs will miss
it and it can get out of sync. Can you help me understand why documentation
shoud be put on the wiki instead?
---
Reply to this email directly or view it on GitHub:
f54f79e#commitcomment-8806909
The reason will be displayed to describe this comment to others. Learn more.
The arguments are the same. There is another option: the nixpks manual. Doing some testing is more important. Eg I notice that webapi runs "make" which fails - make should not be run at all.
f54f79e
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.
@jagajaga You've been involved in the "vim-plugins" update. But why did you sort the plugin names? This clearly shows me that you don't understand the derivation generation at all. It is important to keep plugins which get derived automatically from vim-pi separate so that all of those can be updated in one go because updating single derivations is too much work (IMHO). Do you agree? So would you be fine If I created a bug report soon which reverts this patch keeping the changes made after it ? If you don't know what I'm talking about contact me on irc, please so that we can discuss
f54f79e
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.
And again you've dropped important comments you think are useless: all
lines without taking notes in your comment about why you do it (without asking the one who did added those commits).
Let me explain: the first comment says it should be added to vim-pi so that they can be derived automatically. The second comment says that it looks like the versions are different so again this should be resolved in vim-pi eg by adding the github url in order to update plugins more easily in the future.
Please get in touch so that we can resolve this
f54f79e
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.
First of all, I would like to say that
doesn't work well. Indeed it doesn't fetch revisions and shas. Maybe I'm doing smth wrong.
I've wrote a script (https://gist.github.com/jagajaga/3c7ba009ee6756e12978) that helps me to create a drv.
Based on a result of that I've sorted plugins to easily collect them, update via my script and edit this
default.nix
.Maybe you show me the real work how you update these drvns, and after that we will merge out ideas.
And also the reason why I've sorted them - is just my honest opinion to make it look nicer.
f54f79e
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.
Maybe its hard to understand what "path_to_nixpkgs" means? I agree hat I should improve error reporting.
The code I wrote automatically fetches dependencies (as known by VAM (addon-info.json files)). Thus looking for all derivations to replace is tiresome compared to "delete everything generated by nix#Export.. and reinsert everything" which is pretty fast. You're right that sorting by name is "prettier". So maybe I should improve the code generating the nix derivations to sort by key? Assuming that replacing all derivations at once is fastest best we can do is have this { A .. Z # now vam#nixExport .. generated start: A .. Z} which means having two sections within which the plugins are sorted. To make this clearer to users we could refactor and have two files as well. Would this satisfy you ?
f54f79e
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.
Yeah! Your solution ir really nice. And sorry for my wrong using of
nix#ExportPluginsForNix
:)Hope we won't have misunderstandings futher.
f54f79e
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.
Indeed you've found a bug by my not checking exit code of System in nix.vim (fixed). Pull request for nixpkgs is here: #5212
The next time try to contact the author/maintainer if something obvious is wrong (such as empty sha256)
Can you really imagine me wanting to spend time on such repetitive tasks after having started vim-pi and VAM? :-) You're welcome. Please provide feedback about the patch above.
Things should be easier now. In the end we all want the same: less work and more fun
f54f79e
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.
Can I copy (or move) documentation from
vim-utils.nix
to a wiki page?f54f79e
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 personally don't think its making anything better because devs will miss it and it can get out of sync. Can you help me understand why documentation shoud be put on the wiki instead?
f54f79e
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.
f54f79e
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.
The arguments are the same. There is another option: the nixpks manual. Doing some testing is more important. Eg I notice that webapi runs "make" which fails - make should not be run at all.
f54f79e
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.
That's fixed as well. About documentation I've asked on the mailinglist.