Fredric Silberberg
9b68953651
Merge branch 'bugfix/fix-df' into 'master'
Bugfix/fix df
See merge request !11
6 years ago
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
6 years ago
Ian Adam Naval
6f5f3d6407
Fix creating filesystem structure
6 years ago
Ian Adam Naval
dd2578d084
Merge branch 'testfixes' into 'master'
Testfixes
Fixed some testing issues.
See merge request !10
6 years ago
Fredric Silberberg
a8f648dcb1
Fixed broken filesystem tests
6 years ago
Fredric Silberberg
743a0061c6
Removed extraneous tests
6 years ago
Fredric Silberberg
66a6b29323
Fixed broken common test
6 years ago
Fredric Silberberg
954bb4479c
Merge branch 'spec-update' of git.ianonavy.com:mqp/jsh into spec-update
Conflicts:
ls/main.go
6 years ago
Fredric Silberberg
ddf5882c7c
Updated the printing to follow the new specs
6 years ago
Fredric Silberberg
418be9217b
Merge branch 'feature/ls-internal-structure' into 'master'
Feature/ls internal structure
See merge request !7
6 years ago
Fredric Silberberg
3b8552d758
Merge branch 'feature/df' into 'master'
Feature/df
See merge request !8
6 years ago
Ian Adam Naval
af72e66f8b
Modify ls to use our internal structure
6 years ago
Ian Adam Naval
e2ed6a4111
Add df
6 years ago
Fredric Silberberg
66f1bc01a2
Updated the printing to follow the new specs
6 years ago
Fredric Silberberg
f144050535
Merge branch 'feature/cat' into 'master'
Feature/cat
Fixed typo in comment.
See merge request !5
6 years ago
Fredric Silberberg
0b00728bed
Fixed typo
6 years ago
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
6 years ago
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
6 years ago
Fredric Silberberg
9b8d1e01b6
Updated cat to use the new path searching algorithm
6 years ago
Fredric Silberberg
09b0c8106e
Merge branch 'feature/path-search' into feature/cat
6 years ago
Fredric Silberberg
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.
6 years ago
Fredric Silberberg
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
6 years ago
Fredric Silberberg
64600ac668
Go fmt
6 years ago
Fredric Silberberg
50c84a2f7d
Initial cat that parses file names from the command line
6 years ago
Fredric Silberberg
72c638432f
Added a test for the empty unit, moved bad unit test into a separate test function
6 years ago
Fredric Silberberg
a144a70a61
Added tests for free
6 years ago
Fredric Silberberg
0904b13546
Moved units to be with themselves in common, updated convertUnit and parseLine to be public for testing
6 years ago
Fredric Silberberg
5122c83609
Merge branch 'feature/standards-compliant' into 'master'
Feature/standards compliant
See merge request !1
6 years ago
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.
6 years ago
Ian Adam Naval
dc064e8ea7
Make free standards compliant
6 years ago
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.
6 years ago
Ian Adam Naval
fb8165fa80
Make ps follow new standard
6 years ago
Ian Adam Naval
1d57896123
gofmt
6 years ago
Ian Adam Naval
b226effff0
Add free and ls to Makefile
6 years ago
Ian Adam Naval
e10794e37a
Standardize location of ls
6 years ago
Ian Adam Naval
b78852c82f
Merge remote-tracking branch 'origin/ls' into feature/ps
Conflicts:
README.md
6 years ago
Sam Abradi
d45666450e
now there are some command flags
6 years ago
Ian Adam Naval
238e19073c
Add 'free' to README
6 years ago
Fredric Silberberg
97db57bb1f
Added free implementation
6 years ago
Fredric Silberberg
d26ca0b13a
Moved standard binary fallback to utility function for all utilities to use
6 years ago
Fredric Silberberg
69f68794cf
Updated the gitignore with emacs and go profiles
6 years ago
Ian Adam Naval
65c29fef11
Improve TestToJson.
6 years ago
Ian Adam Naval
c140ec6a7d
Add test for PsOutputToProcesses.
6 years ago
Ian Adam Naval
7fbc8ebc61
Move FieldsN to utility file and add tests.
6 years ago
Ian Adam Naval
626f119ad9
Fix Makefile to correctly remove the c.out files.
6 years ago
Ian Adam Naval
4639a8c011
Add Makefile.
Provides targets for building, auto-formatting and testing (with and
without coverage).
6 years ago
Ian Adam Naval
e0166b98a9
Made package more go-getable.
Based on how the Revel project is organized.
6 years ago
Ian Adam Naval
0aba070b62
Update README with install instructions.
6 years ago
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.
6 years ago
Sam Abradi
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
6 years ago