update Design doc status for each item

This commit is contained in:
swaits committed 2015-02-17 01:32:45 -08:00
1 parent e2a799f02f
commit 3a56205fa8
1 file changed
+21 -21
+21 -21
View File
@@ -2,38 +2,38 @@
## Minimum Features
This is the assignment (directly) from DO.
This is the assignment (directly) from **REDACTED**.
* We do ask that you put a heavy emphasis on testing in the assignment.
* written in a modern language
* limited to one domain - so when crawling digitalocean.com it would crawl all pages within the digitalocean.com domain, but not follow the links to our Facebook or Instagram accounts or subdomains like cloud.digitalocean.com.
* It should be Given a URL
* it should output a site map
* it should show which static assets each page depends on, and the links between pages.
* Choose the most appropriate data structure to store & display this site map.
* Build this as you would build something for production - it's fine if you don't finish everything, but focus on code quality and write tests.
* We're interested in how you code and how you test your code.
✓ We do ask that you put a heavy emphasis on testing in the assignment.
written in a modern language
✓ limited to one domain - so when crawling REDACTED.com it would crawl all pages within the REDACTED.com domain, but not follow the links to our Facebook or Instagram accounts or subdomains like cloud.REDACTED.com.
✓ It should be Given a URL
✓ it should output a site map
✓ it should show which static assets each page depends on, and the links between pages.
✓ Choose the most appropriate data structure to store & display this site map.
✓ Build this as you would build something for production - it's fine if you don't finish everything, but focus on code quality and write tests.
✓ We're interested in how you code and how you test your code.
## Desired
These are features I'd like to include.
* efficient, optimal
* handles base URL properly (for root & relative links)
* documented
* uses standard Go practices
* uses Go stdlib (only!)
* thoroughly tested
✓ handles base URL properly (for root & relative links)
✓ documented
✓ uses standard Go practices
✓ uses Go stdlib (only!)
✓ thoroughly tested
* configurable on command line (defaults are for company specs)
* variable output formats: json, dot
* adheres to URL RFC (as far as case sensitivity, acceptable character sets, etc.)
✓ adheres to URL RFC (as far as case sensitivity, acceptable character sets, etc.)
* go gettable
* go fmt'ed, vet'ed, lint'ed
✓ go fmt'ed, vet'ed, lint'ed
* polite - robots.txt support
* robust - detect infinite loops
✓ robust - detect infinite loops
* throttling
* use Go context pattern
* supports http & https
✓ supports http & https
## Architecture
@@ -41,8 +41,8 @@ These are features I'd like to include.
* pipeline chain should be such that when there's no more work to do the job dispatcher closes the next channel in the pipeline, thereby closing the entire chain of channels (and exiting all goroutines)
* pipeline may allows us to scale concurrency at the bottlenecks
* could use Interfaces for things like Parser, Getter, but I think best avoided until needed
* launch goroutine per fetch
* when there's no Jobs left, and nothing being fetched or parsed, convert the data struct into something useful and output it
✓ launch goroutine per fetch
✓ when there's no Jobs left, and nothing being fetched or parsed, convert the data struct into something useful and output it
## Wishlist