more smart update. #67

Closed
stardiviner opened this Issue Apr 16, 2012 · 4 comments

Comments

Projects
None yet
3 participants
@stardiviner

I found one vimscript Gist.vim change name into WebAPI.vim now. (the name in VAM is webapi-vim).
But the old Gist script is still available in VAM, I hope VAM can have one function let script maintainer can fill in a line of words to tell user which is the new version (changed name). I think this line should be in script's JSON file. when user try to update Gist, they will get this NOTICE, keep old Gist.vim is for someone who do not want to upgrade, really hard to declare my idea.

In one words:
keep old Gist.vim
but add a statement in JSON file to have link for Gist.vim to webapi-vim.

@stardiviner

This comment has been minimized.

Show comment Hide comment
@stardiviner

stardiviner Apr 16, 2012

Did I mixed Gist with webapi-vim ? I checked out new webapi-vim, have not found something about Gist.

Did I mixed Gist with webapi-vim ? I checked out new webapi-vim, have not found something about Gist.

@MarcWeber

This comment has been minimized.

Show comment Hide comment
@MarcWeber

MarcWeber Apr 16, 2012

Owner

Yes, wie have a feature. Grep for "deprecated" in VAM-kr.

Both by "Yasuhiro Matsumoto", both updated on 15.4.2012.
http://www.vim.org/scripts/script.php?script_id=4019 "WebAPI.vim : vimscript for gist"
http://www.vim.org/scripts/script.php?script_id=2423 "Gist.vim : vimscript for gist"

Why do you think one replaces the other?

Owner

MarcWeber commented Apr 16, 2012

Yes, wie have a feature. Grep for "deprecated" in VAM-kr.

Both by "Yasuhiro Matsumoto", both updated on 15.4.2012.
http://www.vim.org/scripts/script.php?script_id=4019 "WebAPI.vim : vimscript for gist"
http://www.vim.org/scripts/script.php?script_id=2423 "Gist.vim : vimscript for gist"

Why do you think one replaces the other?

@ZyX-I

This comment has been minimized.

Show comment Hide comment
@ZyX-I

ZyX-I Apr 16, 2012

Collaborator

Name of WebAPI.vim in VAM is no more webapi-vim, it is WebAPI. Once plugin was posted I changed code from explicit

let scm['webapi-vim'] = {git_repo}

to

let scmnr.4019 = {git_repo}

. Generated name for 4019 is WebAPI (from www.vim.org title, trailing .vim is being removed). Trying to install/update webapi-vim will now fail; nr_to_names_log did not contain 4019 script before as it was not posted (maybe I should also manually add a name there as it is a rear case when it is acceptable?), thus you won’t get a notice about rename, but all dependants have an updated name. Existing installations are not affected (until you try to update).

Collaborator

ZyX-I commented Apr 16, 2012

Name of WebAPI.vim in VAM is no more webapi-vim, it is WebAPI. Once plugin was posted I changed code from explicit

let scm['webapi-vim'] = {git_repo}

to

let scmnr.4019 = {git_repo}

. Generated name for 4019 is WebAPI (from www.vim.org title, trailing .vim is being removed). Trying to install/update webapi-vim will now fail; nr_to_names_log did not contain 4019 script before as it was not posted (maybe I should also manually add a name there as it is a rear case when it is acceptable?), thus you won’t get a notice about rename, but all dependants have an updated name. Existing installations are not affected (until you try to update).

@stardiviner

This comment has been minimized.

Show comment Hide comment
@stardiviner

stardiviner Apr 17, 2012

thanks

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment