mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-26 12:10:32 +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
|
## Next
|
||||||
|
|
||||||
### [0.7](https://github.com/SpaceVim/SpaceVim/milestone/10)
|
### [v0.8.0](https://github.com/SpaceVim/SpaceVim/milestone/11)
|
||||||
|
|
||||||
## Meta
|
## Meta
|
||||||
|
|
||||||
There are release milestones and meta milestones ("buckets").
|
There are release milestones and meta milestones ("buckets").
|
||||||
|
|
||||||
- Version-number milestones (0.1, 0.2, 0.3, …) assign issues to production releases.
|
- Version-number milestones (0.1, 0.2, 0.3, …) assign issues to production releases.
|
||||||
- The nearest upcoming version is assigned a target date.
|
- 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`.
|
- 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.
|
- [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.
|
- [unplanned](https://github.com/SpaceVim/SpaceVim/milestone/5) is a bucket for low-priority items or items lacking a feasible path to completion.
|
||||||
|
|
||||||
## Completed
|
## 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
|
### [v0.2.0](https://github.com/SpaceVim/SpaceVim/milestone/2)
|
||||||
- completion in commit message buffer
|
|
||||||
- manager github issues annd PRs
|
|
||||||
- Improve autocomplete layer
|
|
||||||
|
|
||||||
### [0.3](https://github.com/SpaceVim/SpaceVim/milestone/3)
|
1. Many language support
|
||||||
|
2. Improve default layer
|
||||||
|
3. finish document
|
||||||
|
|
||||||
- statusline with mode support
|
release note: [v0.2.0](http://spacevim.org/SpaceVim-release-v0.2.0/)
|
||||||
- Plugin manager ui for dein
|
|
||||||
- Improve mapping guide
|
|
||||||
- Tabs manager
|
|
||||||
- Layers manager
|
|
||||||
|
|
||||||
### [0.2](https://github.com/SpaceVim/SpaceVim/milestone/2)
|
### [v0.3.0](https://github.com/SpaceVim/SpaceVim/milestone/3)
|
||||||
|
|
||||||
- Mnemonic key bindings
|
- SpaceVim api
|
||||||
- Denite support
|
- plugin manager ui ( for dein)
|
||||||
- Unite work flow
|
|
||||||
- Windows support
|
|
||||||
|
|
||||||
### [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.
|
### [v0.3.1](https://github.com/SpaceVim/SpaceVim/milestone/6)
|
||||||
- Layers feature
|
|
||||||
|
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
|
## Labels
|
||||||
|
|
||||||
| Name | color | description |
|
| Name | color | description |
|
||||||
| ------------------ | ------- | ----------- |
|
| --------------- | ------- | -------------------------------------- |
|
||||||
| BUG | #ee0701 | |
|
| PR welcome | #674eb2 | null |
|
||||||
| Discussion | #1be209 | |
|
| RDY | #e99695 | null |
|
||||||
| Doc Tuning | #d88d38 | |
|
| RFC | #006b75 | null |
|
||||||
| Duplicate | #bfdadc | |
|
| WIP | #5319e7 | null |
|
||||||
| Feature Requesting | #0052cc | |
|
| bug | #ee0701 | bug of SpaceVim core |
|
||||||
| Fixed | #ededed | |
|
| bug-upstream | #ffd5bc | bug of upstream plugins for vim/neovim |
|
||||||
| Mac | #a8b8ed | |
|
| discussion | #1be209 | general dicussion about spacevim |
|
||||||
| PR welcome | #674eb2 | |
|
| doc | #24cc56 | doc type or need to be improved |
|
||||||
| RDY | #e99695 | |
|
| duplicate | #bfdadc | duplicate issue |
|
||||||
| RFC | #006b75 | |
|
| enhancement | #84b6eb | improvement of exist feature |
|
||||||
| TODO | #b60205 | |
|
| feature request | #f9c77c | request for new features |
|
||||||
| WIP | #5319e7 | |
|
| lang:go | #8cf2c2 | Issue about go layer |
|
||||||
| Website | #282828 | |
|
| need help | #78db00 | null |
|
||||||
| Win | #036d5f | |
|
| no-reproduce | #8851b5 | Can not reproduce this issue |
|
||||||
| bug-upstream | #7d2dc4 | |
|
| os:mac | #a8b8ed | |
|
||||||
| enhancement | #84b6eb | |
|
| os:windows | #036d5f | |
|
||||||
| lang:go | #8cf2c2 | |
|
| unplanned | #eaf24d | null |
|
||||||
| need help | #78db00 | |
|
| usage | #fef2c0 | usage of vim/neovim/spacevim |
|
||||||
| no-reproduce | #8851b5 | |
|
| website | #c0e276 | |
|
||||||
| unplanned | #eaf24d | |
|
|
||||||
|
|
||||||
<!-- SpaceVim Wiki labels info end -->
|
<!-- SpaceVim Wiki labels info end -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user