Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Pulsar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NDIP
Pulsar
Commits
8caf7264
Commit
8caf7264
authored
9 years ago
by
John Chilton
Browse files
Options
Downloads
Patches
Plain Diff
Update history, bring in planemo's script to help with that.
parent
d458194b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
HISTORY.rst
+11
-1
11 additions, 1 deletion
HISTORY.rst
bootstrap_history.py
+38
-0
38 additions, 0 deletions
bootstrap_history.py
with
49 additions
and
1 deletion
HISTORY.rst
+
11
−
1
View file @
8caf7264
...
@@ -3,11 +3,15 @@
...
@@ -3,11 +3,15 @@
History
History
-------
-------
.. to_doc
------------------------
------------------------
0.4.0.dev0
0.4.0.dev0
------------------------
------------------------
* Python 3 support.
* Python 3 support. `Pull Request 62`_
* Fix bug encountered when running ``pulsar-main`` and ``pulsar-config`` commands as scripts. 9d43ae0_
* Add ``pulsar-run`` script for issues commands against a Pulsar server (experimental). 3cc7f74_
------------------------
------------------------
0.3.0 (2015-04-12)
0.3.0 (2015-04-12)
...
@@ -48,3 +52,9 @@ History
...
@@ -48,3 +52,9 @@ History
* See the original `announcement <http://dev.list.galaxyproject.org/New-Remote-Job-Runner-td4138951.html>`__
* See the original `announcement <http://dev.list.galaxyproject.org/New-Remote-Job-Runner-td4138951.html>`__
and `initial commit <https://github.com/galaxyproject/pulsar/commit/163ed48d5a1902ceb84c38f10db8cbe5a0c1039d>`__.
and `initial commit <https://github.com/galaxyproject/pulsar/commit/163ed48d5a1902ceb84c38f10db8cbe5a0c1039d>`__.
.. github_links
.. _3cc7f74: https://github.com/galaxyproject/pulsar/commit/3cc7f74
.. _9d43ae0: https://github.com/galaxyproject/pulsar/commit/9d43ae0
.. _Pull Request 62: https://github.com/galaxyproject/pulsar/pull/62
This diff is collapsed.
Click to expand it.
bootstrap_history.py
0 → 100644
+
38
−
0
View file @
8caf7264
#!/usr/bin/env python
# Little script to make HISTORY.rst more easy to format properly, lots TODO
# pull message down and embed, use arg parse, handle multiple, etc...
import
os
import
sys
PROJECT_DIRECTORY
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
))
PROJECT_URL
=
"
https://github.com/galaxyproject/pulsar
"
def
main
(
argv
):
history_path
=
os
.
path
.
join
(
PROJECT_DIRECTORY
,
"
HISTORY.rst
"
)
history
=
open
(
history_path
,
"
r
"
).
read
()
def
extend
(
from_str
,
line
):
from_str
+=
"
\n
"
return
history
.
replace
(
from_str
,
from_str
+
line
+
"
\n
"
)
ident
=
argv
[
1
]
if
ident
.
startswith
(
"
pr
"
):
pull_request
=
ident
[
len
(
"
pr
"
):]
text
=
"
.. _Pull Request {0}: {1}/pull/{0}
"
.
format
(
pull_request
,
PROJECT_URL
)
history
=
extend
(
"
.. github_links
"
,
text
)
history
=
extend
(
"
.. to_doc
"
,
"
`Pull Request {0}`_
"
.
format
(
pull_request
))
elif
ident
.
startswith
(
"
issue
"
):
issue
=
ident
[
len
(
"
issue
"
):]
text
=
"
.. _Issue {0}: {1}/issues/{0}
"
.
format
(
issue
,
PROJECT_URL
)
history
=
extend
(
"
.. github_links
"
,
text
)
history
=
extend
(
"
.. to_doc
"
,
"
`Issue {0}`_
"
.
format
(
issue
))
else
:
short_rev
=
ident
[:
7
]
text
=
"
.. _{0}: {1}/commit/{0}
"
.
format
(
short_rev
,
PROJECT_URL
)
history
=
extend
(
"
.. github_links
"
,
text
)
history
=
extend
(
"
.. to_doc
"
,
"
{0}_
"
.
format
(
short_rev
))
open
(
history_path
,
"
w
"
).
write
(
history
)
if
__name__
==
"
__main__
"
:
main
(
sys
.
argv
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment