urchin/TODO

122 lines
2.8 KiB
Plaintext
Raw Normal View History

2016-01-29 22:23:24 +00:00
Things I want
=============
2016-02-29 12:06:47 +00:00
Wider testing
--------------
Test in other environments
* Specify a few different ones with Nix.
* Some sort of BSD
* Windows
2016-01-30 00:39:43 +00:00
Packaging
------------
Package for package managers.
* I want NixOS, of course.
* Debian is probably the big one.
Other interesting package managers
* Update the npm package
* Homebrew (for Mac)
2016-01-30 00:42:07 +00:00
Windows
----------
2016-02-08 15:03:45 +00:00
Try running Urchin in Windows somehow. Interpreters include
* CygWin (https://www.cygwin.com/)
2016-03-06 18:39:22 +00:00
* https://cygwin.com/setup-x86.exe
2016-02-08 15:03:45 +00:00
* MSYS (http://mingw.org/wiki/msys)
* GNU on Windows (https://github.com/bmatzelle/gow/wiki)
* Git for Windows (https://git-scm.com/download/win)
2016-03-06 18:39:22 +00:00
* https://github.com/git-for-windows/git/releases/download/v2.7.2.windows.1/Git-2.7.2-32-bit.exe
2016-02-08 15:03:45 +00:00
* win-bash (http://win-bash.sourceforge.net/)
2016-01-31 16:36:03 +00:00
2016-03-06 18:39:22 +00:00
2016-02-29 05:07:15 +00:00
shall
----------
Add shall to my NYC*BUG talk.
#!/usr/bin/env shall
echo This runs in several shells.
2016-02-29 12:15:31 +00:00
Linters
-----------
List some shell linters somewhere.
* ShellCheck
* checkbashisms
2016-03-03 15:52:56 +00:00
Rename to something other than "test"?
----------
Maybe wait until I have a use for this.
2016-03-06 15:16:16 +00:00
More sort alternatives
-----------
awk
https://stackoverflow.com/questions/20250937/sorting-lines-in-a-file-alphabetically-using-awk-and-or-sed
bash
https://stackoverflow.com/questions/7442417/how-to-sort-an-array-in-bash
2016-03-13 23:46:58 +00:00
Alternatives
--------------
JSON.sh test suite
2016-04-06 21:43:18 +00:00
Running in multiple environments
-----------------------------------
Setup for other environments includes the following.
* Installing packages
* `touch .zshrc`
* Copy urchin and tests
2016-04-06 23:50:46 +00:00
Bugs
-------
2016-04-07 00:11:41 +00:00
Both md5sum and md5 should be supported.
Trouble logging in to hpux, irix, miros, netbsd, tru64, qnx, ....
2016-04-07 00:16:09 +00:00
$ rsync -e 'ssh -p 785' urchin tlevine@hpux.polarhome.com:.blah
HP-UX hpux.polarhome.com B.11.11 U 9000/785 (ta)
Welcome to HPUX/PA... member of polarhome.com realm
bash: rsync: command not found
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: remote command not found (code 127) at io.c(226)
[sender=3.1.1]
2016-04-07 00:11:41 +00:00
OpenIndiana grep does not support -q
I get `/urchin: syntax error at line 84: \`}' unexpected` on
unixware and solaris.
2016-04-07 00:24:52 +00:00
mktemp
> tlevine@hpux.polarhome.com -p 785
F sh (8 seconds)
|
| HP-UX hpux.polarhome.com B.11.11 U 9000/785 (ta)
| Welcome to HPUX/PA... member of polarhome.com realm
|
|
| HP-UX hpux.polarhome.com B.11.11 U 9000/785 (ta)
| Welcome to HPUX/PA... member of polarhome.com realm
|
| mktemp: option requires an argument -- d
| ./urchin[96]: /tmp/tlevinea21441/log: Cannot create the specified file.
2016-04-07 01:59:28 +00:00
date
tlevine@hpux64$ ./urchin tests/ -n -vv
date: bad format character - s
2016-04-07 02:52:38 +00:00
So I need a portable seconds-from epoch
I also need to handle when no arguments are passed to urchin.
2016-04-07 03:03:07 +00:00
Exit code is wrong for which on HP-UX