Skip to content

Commit

Permalink
Merge branch 'master' into gui
Browse files Browse the repository at this point in the history
  • Loading branch information
Jace Browning committed Aug 15, 2014
2 parents 7e7f1d9 + c275f21 commit bccd2e5
Show file tree
Hide file tree
Showing 92 changed files with 2,426 additions and 1,173 deletions.
2 changes: 1 addition & 1 deletion .noserc
Expand Up @@ -7,7 +7,7 @@ with-doctest=1
with-coverage=1
cover-package=doorstop.common,doorstop.core,
doorstop.cli.main,doorstop.cli.utilities,
doorstop.gui
doorstop.gui,doorstop.server
cover-erase=1
cover-min-percentage=100

Expand Down
12 changes: 6 additions & 6 deletions .pylintrc
@@ -1,20 +1,20 @@
[MESSAGES CONTROL]

# I0011: Locally disabling %s
# W0142: Used * or ** magic
# I0011: locally disabling %s
# W0142: used * or ** magic
# W0511: TODO in comments
disable=I0011,W0142,W0511

# C0103: invalid constant name
# RO904: too many public methods
disable=I0011,W0142,W0511,C0103,R0904

[REPORTS]

reports=no

msg-template={msg_id}:{line:3d},{column}:{msg}


[FORMAT]

max-line-length=79

ignore-long-lines=^(\s*(# )?(<?https?://\S+>?))|(.* pragma: \S+.*)$
ignore-long-lines=^.*#+.*((https?:)|(pragma:)|(TODO:)).*$
2 changes: 2 additions & 0 deletions .travis.yml
Expand Up @@ -2,6 +2,8 @@ language: python
python:
- 3.3
- 3.4
git:
depth: 1
install:
- pip install coveralls scrutinizer-ocular
script: make ci
Expand Down
4 changes: 4 additions & 0 deletions CHANGES.md
Expand Up @@ -9,6 +9,10 @@ Changelog
- Added `Item.clear()` to save stamps (hashes) of linked items.
- Added `Item.review()` to save stamps (hashes) of reviewed items.
- Added `doorstop reorder ...` to organize a document's structure.
- Renamed `Item.id` and `identifer` arguments to `uid`
- Added '--no-body-levels' to `doorstop publish` to hide levels on non-headings.
- Added `doorstop-server` to launch a REST API for UID reservation.
- Added '--server' argument to `doorstop add` to specify the server address.

0.7 (2014/07/08)
----------------
Expand Down
19 changes: 12 additions & 7 deletions Makefile
Expand Up @@ -30,6 +30,7 @@ else
OPEN := cygstart
else
OPEN := open
SUDO := sudo
endif
endif

Expand All @@ -47,10 +48,10 @@ NOSE := $(BIN)/nosetests
# Main Targets ###############################################################

.PHONY: all
all: doc $(ALL)
all: $(ALL)
$(ALL): $(SOURCES)
$(MAKE) check
touch $(ALL) # flag to indicate all setup steps were succesful
$(MAKE) doc pep8 pep257
touch $(ALL) # flag to indicate all setup steps were successful

.PHONY: ci
ci: doorstop pep8 pep257 test tests tutorial
Expand Down Expand Up @@ -87,18 +88,22 @@ $(DEPENDS_DEV): Makefile

.PHONY: doorstop
doorstop: env
$(BIN)/doorstop
$(BIN)/doorstop --quiet

.PHONY: gui
gui: env
$(BIN)/doorstop-gui

.PHONY: serve
serve: env
$(SUDO) $(BIN)/doorstop-server --debug --launch --port 80

# Documentation ##############################################################

.PHONY: doc
doc: readme reqs uml apidocs sphinx

.PHONY: pages
.PHONY: pages
pages: reqs-html sphinx
cp -r docs/gen/ pages/reqs/
cp -r docs/sphinx/_build pages/docs/
Expand Down Expand Up @@ -203,8 +208,8 @@ clean-all: clean .clean-env

.PHONY: .clean-build
.clean-build:
find . -name '*.pyc' -delete
find . -name '__pycache__' -delete
find . -name '*.pyc' -not -path "*/env/*" -delete
find . -name '__pycache__' -not -path "*/env/*" -delete
rm -rf *.egg-info

.PHONY: .clean-doc
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -80,7 +80,7 @@ Items can be added to the document and edited:

Additional documents can be created that link to other documents:

$ doorstop new TST ./reqs/tests --parent REQ
$ doorstop create TST ./reqs/tests --parent REQ
created document: TST (@/reqs/tests)

Items can be added and linked to parent items:
Expand Down
4 changes: 2 additions & 2 deletions docs/reqs/REQ002.yml
Expand Up @@ -4,6 +4,6 @@ level: 1.0
links: []
normative: false
ref: ''
reviewed: 7d7b262d890f123a05e06cbdd7a223c9
reviewed: 3b3afc2a86ebf8477a1f38abc53c2d61
text: |
**Composition Features**
Composition Features
4 changes: 2 additions & 2 deletions docs/reqs/REQ006.yml
Expand Up @@ -4,6 +4,6 @@ level: 2.0
links: []
normative: false
ref: ''
reviewed: 0792a829c7fef72e30a3e00fb674d136
reviewed: 4037bbff982c36941d587f224e9236f7
text: |
**Presentation Features**
Presentation Features
4 changes: 2 additions & 2 deletions docs/reqs/REQ010.yml
Expand Up @@ -4,6 +4,6 @@ level: 3.0
links: []
normative: false
ref: ''
reviewed: 982ebee9fb9a59e91ad4acde59eda1d9
reviewed: 9d5b3c0ab0e0d1c6759f173435d31bd7
text: |
**Administration Features**
Administration Features
2 changes: 0 additions & 2 deletions docs/sphinx/conf.py
Expand Up @@ -15,8 +15,6 @@
serve to show the default.
"""

# pylint:disable=C0103

from doorstop import __version__

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down
1 change: 1 addition & 0 deletions doorstop/__init__.py
Expand Up @@ -5,6 +5,7 @@

CLI = 'doorstop'
GUI = 'doorstop-gui'
SERVER = 'doorstop-server'
VERSION = __project__ + '-' + __version__
DESCRIPTION = "Requirements management using version control."

Expand Down

0 comments on commit bccd2e5

Please sign in to comment.