Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Masonry as a dependency #22

Merged
merged 3 commits into from Jul 22, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 17 additions & 6 deletions CONTRIBUTING.md
Expand Up @@ -20,24 +20,35 @@ with this waiver of copyright interest.

## Development

Requires [Go](https://golang.org/) 1.6+.

1. Clone the repository.
1. Follow the [installation instructions](README.md#installation).
1. Go to the repository directory.

```bash
git clone https://github.com/opencontrol/fedramp-templater
cd fedramp-templater
cd $GOPATH/src/github.com/opencontrol/fedramp-templater
```

1. [Install `gokogiri` dependencies.](https://github.com/moovweb/gokogiri/pull/95/files)
1. _code code code_
1. Run the tests.

```bash
go test -v $(go list ./... | grep -v /vendor/)
```

1. Run the CLI.

```bash
go run main.go fixtures/FedRAMP_ac-2-1_v2.1.docx tmp/output.docx
open tmp/output.docx
```

[Glide](https://glide.sh/) is used to manage dependencies.

### Adding dependencies

```bash
glide get --strip-vcs --strip-vendor <package>
```

## Resources

### Tools
Expand Down
179 changes: 0 additions & 179 deletions Godeps/Godeps.json

This file was deleted.

5 changes: 0 additions & 5 deletions Godeps/Readme

This file was deleted.

5 changes: 4 additions & 1 deletion README.md
Expand Up @@ -2,16 +2,19 @@

This is a command-line tool to take the [FedRAMP](http://www.fedramp.gov/) System Security Plan template and transform it to be [Compliance Masonry](https://github.com/opencontrol/compliance-masonry)-compatible.

## Usage
## Installation

Requires [Go](https://golang.org/) 1.6+.

1. [Install `gokogiri` dependencies.](https://github.com/moovweb/gokogiri/pull/95/files)
1. Install the tool:

```bash
go get github.com/opencontrol/fedramp-templater
```

## Usage

1. [Download the `System Security Plan (SSP)` template.](https://www.fedramp.gov/resources/templates-2016/) (Tested with [v2.1](https://www.fedramp.gov/files/2015/03/FedRAMP-System-Security-Plan-Template-v2.1.docx).)
1. Run

Expand Down
90 changes: 90 additions & 0 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions glide.yaml
@@ -0,0 +1,47 @@
package: github.com/opencontrol/fedramp-templater
import:
- package: github.com/jbowtie/gokogiri
version: 94c317865760e3580e90e49c08ca54953ef1b7cb
subpackages:
- help
- html
- util
- xml
- xpath
- package: github.com/onsi/ginkgo
version: 5437a97bf824dec14e58d68c56ee36e772670c2e
subpackages:
- config
- internal/codelocation
- internal/containernode
- internal/failer
- internal/leafnodes
- internal/remote
- internal/spec
- internal/specrunner
- internal/suite
- internal/testingtproxy
- internal/writer
- reporters
- reporters/stenographer
- types
- package: github.com/onsi/gomega
version: a1094b2db2d4845621602c667bd4ccf09834544e
subpackages:
- format
- internal/assertion
- internal/asyncassertion
- internal/oraclematcher
- internal/testingtsupport
- matchers
- matchers/support/goraph/bipartitegraph
- matchers/support/goraph/edge
- matchers/support/goraph/node
- matchers/support/goraph/util
- types
- package: github.com/opencontrol/doc-template
version: 88997261e3057776e761bb1460d6a53ae240a782
subpackages:
- docx
- package: github.com/opencontrol/compliance-masonry
version: ^1.1.2