mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 12:50:04 +08:00
Genarate roadmap from github milestones (#1547)
* Genarate roadmap from github milestones * Improve roadmap vim script * Done
This commit is contained in:
parent
9b315efb85
commit
e71ddb6a55
53
.SpaceVim.d/autoload/SpaceVim/dev/roadmap.vim
Normal file
53
.SpaceVim.d/autoload/SpaceVim/dev/roadmap.vim
Normal file
@ -0,0 +1,53 @@
|
||||
"=============================================================================
|
||||
" roadmap.vim --- genrate roadmap completed items
|
||||
" Copyright (c) 2016-2017 Wang Shidong & Contributors
|
||||
" Author: Wang Shidong < wsdjeg at 163.com >
|
||||
" URL: https://spacevim.org
|
||||
" License: GPLv3
|
||||
"=============================================================================
|
||||
|
||||
|
||||
function! SpaceVim#dev#roadmap#updateCompletedItems() abort
|
||||
let [start, end] = s:find_position()
|
||||
if start != 0 && end != 0
|
||||
if end - start > 1
|
||||
exe (start + 1) . ',' . (end - 1) . 'delete'
|
||||
endif
|
||||
call append(start, s:generate_content())
|
||||
silent! Neoformat
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! s:find_position() abort
|
||||
let start = search('^<!-- SpaceVim roadmap completed items start -->$','bwnc')
|
||||
let end = search('^<!-- SpaceVim roadmap completed items end -->$','bnwc')
|
||||
return sort([start, end])
|
||||
endfunction
|
||||
|
||||
function! s:generate_content() abort
|
||||
let content = ['## Completed',
|
||||
\ ''
|
||||
\ ]
|
||||
let content += s:get_milestones()
|
||||
return content
|
||||
endfunction
|
||||
|
||||
function! s:get_milestones() abort
|
||||
let milestones = github#api#issues#ListAllMilestones('SpaceVim', 'SpaceVim', 'closed', 'due_on', 'asc')
|
||||
let line = []
|
||||
|
||||
for milestone in milestones
|
||||
call add(line, '### [' . milestone.title . '](' . milestone.html_url . ')' )
|
||||
call add(line, '')
|
||||
if !empty(get(milestone, 'description', ''))
|
||||
let line += split(milestone.description, "\n")
|
||||
call add(line, '')
|
||||
endif
|
||||
call add(line, 'release note: [' . milestone.title . '](http://spacevim.org/SpaceVim-release-' . milestone.title . '/)' )
|
||||
call add(line, '')
|
||||
endfor
|
||||
if line[-1] !=# ''
|
||||
let line += ['']
|
||||
endif
|
||||
return line
|
||||
endfunction
|
@ -9,51 +9,67 @@ The roadmap and [milestones](https://github.com/SpaceVim/SpaceVim/milestones) de
|
||||
|
||||
## Next
|
||||
|
||||
### [0.7](https://github.com/SpaceVim/SpaceVim/milestone/10)
|
||||
### [v0.8.0](https://github.com/SpaceVim/SpaceVim/milestone/11)
|
||||
|
||||
## Meta
|
||||
|
||||
There are release milestones and meta milestones ("buckets").
|
||||
|
||||
- Version-number milestones (0.1, 0.2, 0.3, …) assign issues to production releases.
|
||||
- The nearest upcoming version is assigned a target date.
|
||||
- Low-risk fixes in the current branch are first committed to the stable branch, then merged to master. For example, if the current stable release is `0.1.1` and a bug-fix is assigned to the `0.2` milestone, it does not mean users need to wait until 0.2 to get the fix. The patch will be committed to the stable branch and released in `0.1.2`.
|
||||
- The nearest upcoming version is assigned a target date.
|
||||
- Low-risk fixes in the current branch are first committed to the stable branch, then merged to master. For example, if the current stable release is `0.1.1` and a bug-fix is assigned to the `0.2` milestone, it does not mean users need to wait until 0.2 to get the fix. The patch will be committed to the stable branch and released in `0.1.2`.
|
||||
- [todo](https://github.com/SpaceVim/SpaceVim/milestone/4) is a bucket for triaged tickets which should be on the roadmap but cannot yet be assigned to a concrete milestone.
|
||||
- [unplanned](https://github.com/SpaceVim/SpaceVim/milestone/5) is a bucket for low-priority items or items lacking a feasible path to completion.
|
||||
|
||||
## Completed
|
||||
|
||||
### [0.6](https://github.com/SpaceVim/SpaceVim/milestone/9)
|
||||
<!-- SpaceVim roadmap completed items start -->
|
||||
|
||||
see the release note: [V0.5.0](https://github.com/SpaceVim/SpaceVim/milestone/9)
|
||||
## Completed
|
||||
|
||||
### [0.5](https://github.com/SpaceVim/SpaceVim/milestone/8)
|
||||
### [v0.1.0](https://github.com/SpaceVim/SpaceVim/milestone/1)
|
||||
|
||||
see the release note: [V0.5.0](https://github.com/SpaceVim/SpaceVim/milestone/9)
|
||||
Will release 0.1 at 2017-01-27, as you know, it is the last day of this year in chinese.
|
||||
|
||||
### [0.4](https://github.com/SpaceVim/SpaceVim/milestone/7)
|
||||
release note: [v0.1.0](http://spacevim.org/SpaceVim-release-v0.1.0/)
|
||||
|
||||
- Improve git work flow
|
||||
- completion in commit message buffer
|
||||
- manager github issues annd PRs
|
||||
- Improve autocomplete layer
|
||||
### [v0.2.0](https://github.com/SpaceVim/SpaceVim/milestone/2)
|
||||
|
||||
### [0.3](https://github.com/SpaceVim/SpaceVim/milestone/3)
|
||||
1. Many language support
|
||||
2. Improve default layer
|
||||
3. finish document
|
||||
|
||||
- statusline with mode support
|
||||
- Plugin manager ui for dein
|
||||
- Improve mapping guide
|
||||
- Tabs manager
|
||||
- Layers manager
|
||||
release note: [v0.2.0](http://spacevim.org/SpaceVim-release-v0.2.0/)
|
||||
|
||||
### [0.2](https://github.com/SpaceVim/SpaceVim/milestone/2)
|
||||
### [v0.3.0](https://github.com/SpaceVim/SpaceVim/milestone/3)
|
||||
|
||||
- Mnemonic key bindings
|
||||
- Denite support
|
||||
- Unite work flow
|
||||
- Windows support
|
||||
- SpaceVim api
|
||||
- plugin manager ui ( for dein)
|
||||
|
||||
### [0.1](https://github.com/SpaceVim/SpaceVim/milestone/1)
|
||||
release note: [v0.3.0](http://spacevim.org/SpaceVim-release-v0.3.0/)
|
||||
|
||||
- The primary goal of the 0.1 release ("first public release") is to reach a stable, functional baseline that can be built upon and used as a benchmark for further progress.
|
||||
- Layers feature
|
||||
### [v0.3.1](https://github.com/SpaceVim/SpaceVim/milestone/6)
|
||||
|
||||
features need to be implemented just after v0.3.0 has been released.
|
||||
|
||||
release note: [v0.3.1](http://spacevim.org/SpaceVim-release-v0.3.1/)
|
||||
|
||||
### [v0.4.0](https://github.com/SpaceVim/SpaceVim/milestone/7)
|
||||
|
||||
release note: [v0.4.0](http://spacevim.org/SpaceVim-release-v0.4.0/)
|
||||
|
||||
### [v0.5.0](https://github.com/SpaceVim/SpaceVim/milestone/8)
|
||||
|
||||
release note: [v0.5.0](http://spacevim.org/SpaceVim-release-v0.5.0/)
|
||||
|
||||
### [v0.6.0](https://github.com/SpaceVim/SpaceVim/milestone/9)
|
||||
|
||||
release note: [v0.6.0](http://spacevim.org/SpaceVim-release-v0.6.0/)
|
||||
|
||||
### [v0.7.0](https://github.com/SpaceVim/SpaceVim/milestone/10)
|
||||
|
||||
- Improve all the lang#\* layers
|
||||
|
||||
release note: [v0.7.0](http://spacevim.org/SpaceVim-release-v0.7.0/)
|
||||
|
||||
<!-- SpaceVim roadmap completed items end -->
|
||||
|
@ -11,27 +11,26 @@
|
||||
|
||||
## Labels
|
||||
|
||||
| Name | color | description |
|
||||
| ------------------ | ------- | ----------- |
|
||||
| BUG | #ee0701 | |
|
||||
| Discussion | #1be209 | |
|
||||
| Doc Tuning | #d88d38 | |
|
||||
| Duplicate | #bfdadc | |
|
||||
| Feature Requesting | #0052cc | |
|
||||
| Fixed | #ededed | |
|
||||
| Mac | #a8b8ed | |
|
||||
| PR welcome | #674eb2 | |
|
||||
| RDY | #e99695 | |
|
||||
| RFC | #006b75 | |
|
||||
| TODO | #b60205 | |
|
||||
| WIP | #5319e7 | |
|
||||
| Website | #282828 | |
|
||||
| Win | #036d5f | |
|
||||
| bug-upstream | #7d2dc4 | |
|
||||
| enhancement | #84b6eb | |
|
||||
| lang:go | #8cf2c2 | |
|
||||
| need help | #78db00 | |
|
||||
| no-reproduce | #8851b5 | |
|
||||
| unplanned | #eaf24d | |
|
||||
| Name | color | description |
|
||||
| --------------- | ------- | -------------------------------------- |
|
||||
| PR welcome | #674eb2 | null |
|
||||
| RDY | #e99695 | null |
|
||||
| RFC | #006b75 | null |
|
||||
| WIP | #5319e7 | null |
|
||||
| bug | #ee0701 | bug of SpaceVim core |
|
||||
| bug-upstream | #ffd5bc | bug of upstream plugins for vim/neovim |
|
||||
| discussion | #1be209 | general dicussion about spacevim |
|
||||
| doc | #24cc56 | doc type or need to be improved |
|
||||
| duplicate | #bfdadc | duplicate issue |
|
||||
| enhancement | #84b6eb | improvement of exist feature |
|
||||
| feature request | #f9c77c | request for new features |
|
||||
| lang:go | #8cf2c2 | Issue about go layer |
|
||||
| need help | #78db00 | null |
|
||||
| no-reproduce | #8851b5 | Can not reproduce this issue |
|
||||
| os:mac | #a8b8ed | |
|
||||
| os:windows | #036d5f | |
|
||||
| unplanned | #eaf24d | null |
|
||||
| usage | #fef2c0 | usage of vim/neovim/spacevim |
|
||||
| website | #c0e276 | |
|
||||
|
||||
<!-- SpaceVim Wiki labels info end -->
|
||||
|
Loading…
Reference in New Issue
Block a user