9b68953651
Merge branch 'bugfix/fix-df' into 'master'
...
Bugfix/fix df
See merge request !11
2014-10-16 19:21:33 -04:00
Ian Adam Naval
facd7aa6d7
Merge branch 'spec-update' into 'master'
...
Spec update
Rebase of the updates to comply with the new spec.
See merge request !9
2014-10-16 19:19:22 -04:00
Ian Adam Naval
6f5f3d6407
Fix creating filesystem structure
2014-10-16 19:02:02 -04:00
Ian Adam Naval
dd2578d084
Merge branch 'testfixes' into 'master'
...
Testfixes
Fixed some testing issues.
See merge request !10
2014-10-16 18:53:45 -04:00
a8f648dcb1
Fixed broken filesystem tests
2014-10-16 18:43:30 -04:00
743a0061c6
Removed extraneous tests
2014-10-16 18:42:11 -04:00
66a6b29323
Fixed broken common test
2014-10-16 18:41:32 -04:00
954bb4479c
Merge branch 'spec-update' of git.ianonavy.com:mqp/jsh into spec-update
...
Conflicts:
ls/main.go
2014-10-14 16:57:09 -04:00
ddf5882c7c
Updated the printing to follow the new specs
2014-10-14 16:55:50 -04:00
418be9217b
Merge branch 'feature/ls-internal-structure' into 'master'
...
Feature/ls internal structure
See merge request !7
2014-10-14 16:52:08 -04:00
3b8552d758
Merge branch 'feature/df' into 'master'
...
Feature/df
See merge request !8
2014-10-14 16:51:21 -04:00
Ian Adam Naval
af72e66f8b
Modify ls to use our internal structure
2014-10-14 16:33:01 -04:00
Ian Adam Naval
e2ed6a4111
Add df
2014-10-14 16:32:08 -04:00
66f1bc01a2
Updated the printing to follow the new specs
2014-10-09 19:07:00 -04:00
f144050535
Merge branch 'feature/cat' into 'master'
...
Feature/cat
Fixed typo in comment.
See merge request !5
2014-09-25 13:40:59 -04:00
0b00728bed
Fixed typo
2014-09-25 13:39:43 -04:00
Ian Adam Naval
1fc595e559
Merge branch 'feature/cat' into 'master'
...
Feature/cat
Initial implementation of cat. So far, this only parses from the command line. I'll add in parsing from input frames once we work out some pipe merging issues.
See merge request !3
2014-09-25 11:18:26 -04:00
Ian Adam Naval
b6b7cb023e
Merge branch 'feature/path-search' into 'master'
...
Feature/path search
Added the PATH searching algorithm that we talked about at the last meeting with Ciaraldi. We'll need to update ls to follow the same flag standards that we are.
See merge request !4
2014-09-25 11:18:21 -04:00
9b8d1e01b6
Updated cat to use the new path searching algorithm
2014-09-24 23:39:07 -04:00
09b0c8106e
Merge branch 'feature/path-search' into feature/cat
2014-09-24 23:38:27 -04:00
f21df51bd2
Added the PATH searching algorithm we talked about at the last meeting with Ciaraldi. It will find the location of our program
...
and search the PATH for that location. If found, it will search all remaining elements for the requested program. If the location
is not found on the PATH, then it will search the entire PATH for the requested program. If found, it returns the absolute path
to the program. If not, err.
2014-09-24 23:32:11 -04:00
f11cbeaf22
Merge branch 'feature/free-testing' into 'master'
...
Feature/free testing
Moved functions around in common to keep functions related to each type together. Added in some tests for free, since I said we should do that and I hadn't.
See merge request !2
2014-09-24 22:30:42 -04:00
64600ac668
Go fmt
2014-09-24 22:29:00 -04:00
50c84a2f7d
Initial cat that parses file names from the command line
2014-09-24 22:24:46 -04:00
72c638432f
Added a test for the empty unit, moved bad unit test into a separate test function
2014-09-18 13:03:44 -04:00
a144a70a61
Added tests for free
2014-09-18 12:58:25 -04:00
0904b13546
Moved units to be with themselves in common, updated convertUnit and parseLine to be public for testing
2014-09-18 12:48:24 -04:00
5122c83609
Merge branch 'feature/standards-compliant' into 'master'
...
Feature/standards compliant
See merge request !1
2014-09-18 12:09:30 -04:00
Ian Adam Naval
58009824b6
Make ls standards compliant
...
Except we aren't using the standard JshFrame struct. We should probably
have a meeting to discuss how we're going to organize that going
forward.
2014-09-16 22:08:12 -04:00
Ian Adam Naval
dc064e8ea7
Make free standards compliant
2014-09-16 22:00:50 -04:00
Ian Adam Naval
d621f8d765
Add blank case for convertUnit
...
Assumes that it's in bytes. On my system (Arch Linux), values of 0 have
no unit printed next to them.
2014-09-16 21:55:37 -04:00
Ian Adam Naval
fb8165fa80
Make ps follow new standard
2014-09-16 21:43:43 -04:00
Ian Adam Naval
1d57896123
gofmt
2014-09-16 20:52:57 -04:00
Ian Adam Naval
b226effff0
Add free and ls to Makefile
2014-09-16 20:51:52 -04:00
Ian Adam Naval
e10794e37a
Standardize location of ls
2014-09-10 15:14:20 -04:00
Ian Adam Naval
b78852c82f
Merge remote-tracking branch 'origin/ls' into feature/ps
...
Conflicts:
README.md
2014-09-10 14:15:45 -04:00
d45666450e
now there are some command flags
2014-09-10 14:13:59 -04:00
Ian Adam Naval
238e19073c
Add 'free' to README
2014-09-10 14:12:25 -04:00
97db57bb1f
Added free implementation
2014-09-08 01:12:05 +00:00
d26ca0b13a
Moved standard binary fallback to utility function for all utilities to use
2014-09-08 01:11:30 +00:00
69f68794cf
Updated the gitignore with emacs and go profiles
2014-09-07 22:46:59 +00:00
Ian Adam Naval
65c29fef11
Improve TestToJson.
2014-09-04 02:49:55 -04:00
Ian Adam Naval
c140ec6a7d
Add test for PsOutputToProcesses.
2014-09-04 02:45:09 -04:00
Ian Adam Naval
7fbc8ebc61
Move FieldsN to utility file and add tests.
2014-09-04 02:30:52 -04:00
Ian Adam Naval
626f119ad9
Fix Makefile to correctly remove the c.out files.
2014-09-04 02:18:50 -04:00
Ian Adam Naval
4639a8c011
Add Makefile.
...
Provides targets for building, auto-formatting and testing (with and
without coverage).
2014-09-04 02:17:17 -04:00
Ian Adam Naval
e0166b98a9
Made package more go-getable.
...
Based on how the Revel project is organized.
2014-09-04 01:26:15 -04:00
Ian Adam Naval
0aba070b62
Update README with install instructions.
2014-09-03 16:01:55 -04:00
Ian Adam Naval
9525516e37
Implement rudimentary 'ps' with --json flag.
...
--json mode doesn't have any fancy command line arguments yet. Just
outputs to raw JSON. Seems to work pretty well with Underscore. Also
added some structure; we can work out how the build system will work
later.
2014-09-03 15:53:21 -04:00
865feb3584
added tiny basic ls implimentation, doesnt take any args other than the directory to list, doesnt even jsonify the output, literally bare bonest ls to make sure I can do the backend part of ls
2014-09-03 14:21:21 -04:00