{"id":19078965,"url":"https://github.com/tomtom/vimscriptuploader.rb","last_synced_at":"2026-05-21T06:30:21.798Z","repository":{"id":1165495,"uuid":"1056728","full_name":"tomtom/vimscriptuploader.rb","owner":"tomtom","description":"Upload vim plugins to http://www.vim.org","archived":false,"fork":false,"pushed_at":"2012-04-20T15:01:17.000Z","size":104,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-02T18:47:58.362Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomtom.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-11-06T12:59:20.000Z","updated_at":"2022-07-19T13:06:10.000Z","dependencies_parsed_at":"2022-08-16T12:20:57.288Z","dependency_job_id":null,"html_url":"https://github.com/tomtom/vimscriptuploader.rb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomtom%2Fvimscriptuploader.rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomtom%2Fvimscriptuploader.rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomtom%2Fvimscriptuploader.rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomtom%2Fvimscriptuploader.rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomtom","download_url":"https://codeload.github.com/tomtom/vimscriptuploader.rb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240131773,"owners_count":19752725,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T02:12:52.994Z","updated_at":"2026-05-21T06:30:21.704Z","avatar_url":"https://github.com/tomtom.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"vimscriptuploader.rb -- Upload files to http://www.vim.org\n==========================================================\n\nEXPERIMENTAL\n\nThis ruby script uploads vim plugins to http://www.vim.org\\. You have to \nprovide a script definition YAML file that has the following fields:\n\n* id: The plugin's script ID on www.vim.org\n* version: The plugin version number\n* file: The filename that should be uploaded\n* message: The version comment\n\nExample YAML file:\n\n    --- \n    id: \"123\"\n    version: \"0.01\"\n    file: /home/moi/.vim/vimballs/foo.vba\n    message: |-\n      Fixed this\n      Done that\n\nvimscriptdef.rb can generate such YAML files from a vimball recipe.\n\nThose values can also be provided on the command line.\n\n\nExample use\n-----------\n\nLoad the user name and the password from a YAML file:\n\n    vimscriptuploader.rb --config vim_org.yml myplugin.yml\n\nwhere vim\\_org.yml could look like:\n\n    ---\n    username: foo\n    password: bar\n\nProvide all arguments on the command line:\n\n    vimscriptuploader.rb --username foo --password bar \\\\\n        --id 123 --version 0.01 --message \"Updated this and that\" \\\\\n        --file myplugin.vba\n\n\n\nCreate YAML plugin definitions with vimscriptdef.rb\n------------------------------------------------------\n\nThe vimscriptdef.rb ruby script can be used to create a YAML plugin \ndefinition that can be fed to vimscriptuploader.rb.\n\nIn order to make this work, your scripts have to comply to the following \nconvention:\n\n* At least one file must contain a `GetLatestVimScripts` tagline. If the \n  file is \"foo.vim\", the line must look somewhat like:\n\n    `\" GetLatestVimScripts: 123 0 :AutoInstall: foo.vim`\n\n* At least one file must set a global `loaded_PLUGIN` variable. If the \n  plugin is \"bar\", the corresponding line must look like:\n\n    `let loaded_bar = VERSION_NUMBER`\n\n  where `VERSION_NUMBER` is an integer that complies with vim's version \n  numbering system (see :help v:version).\n\n* If you use git tags, vimscriptdef.rb will compile the comment version \n  from the commit messages since the latest tag. The following tag \n  formats are supported (e.g. if the version number is 1.02): v102, 102, \n  1.02.\n\n  If you don't use tags, version comments are limited to simple messages \n  if the configuration file defines a field `history_fmt` that must \n  contain one `%s`, which will be filled in with the plugin name, the \n  formatted string will be posted as version comment.\n\n  The MD5 checksum will be added to the version comment.\n\n\nDependencies\n------------\n\n* ruby 1.8\n* www/mechanize\n* git (to extract log messages and tags for the YAML script definition)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomtom%2Fvimscriptuploader.rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomtom%2Fvimscriptuploader.rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomtom%2Fvimscriptuploader.rb/lists"}