cnd
917f0220a6
Merge pull request #1384 from uutils/dependabot/cargo/libc-0.2.56
...
build: bump libc from 0.2.54 to 0.2.56
2019-05-31 18:40:13 +04:00
dependabot-preview[bot]
61a4846755
build: bump libc from 0.2.54 to 0.2.56
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.54 to 0.2.56.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.54...0.2.56 )
2019-05-31 12:31:02 +00:00
cnd
cb260d2fcd
Merge pull request #1376 from Arcterus/env-refactor
...
env: refactor and move away from pre-1.0 Rust conventions
2019-05-16 13:14:06 +04:00
Alex Lyon
ab8c2b021a
env: fix build on Windows
2019-05-13 12:22:43 -07:00
Alex Lyon
18b19715f9
env: refactor and move away from pre-1.0 Rust conventions
2019-05-13 04:03:10 -07:00
cnd
2bb46fe11d
Merge pull request #1375 from Arcterus/separate-uucore
...
Split off uucore into its own repository
2019-05-13 12:57:58 +04:00
Alex Lyon
b73a664677
Split off uucore into its own repository
2019-05-12 22:42:20 -07:00
Alex Lyon
e1cf3a42d5
Merge pull request #1374 from rivy/fix.env-polish
...
env: minor fixes and commentary polish
2019-05-12 17:24:26 -07:00
Roy Ivy III
bbd0a26012
env: minor fixes and commentary polish
2019-05-09 19:06:32 -05:00
Alex Lyon
036dd81295
Merge pull request #1362 from Arcterus/cirrus
...
Test on FreeBSD using Cirrus CI and link to the Discord in the README
2019-05-03 11:51:06 -07:00
Alex Lyon
b6cd8deb6f
Switch users back to our rust-users fork to fix the build
2019-05-01 22:18:51 -07:00
Alex Lyon
8a86c84461
uucore: allow the Linux zero-copy setup on Android
2019-05-01 21:15:01 -07:00
Alex Lyon
2019833fbb
uucore: remove an inaccurate comment
2019-05-01 21:15:01 -07:00
Alex Lyon
b46e2289d6
uucore, yes: add zero-copy on supported platforms (only Linux currently)
2019-05-01 21:15:00 -07:00
Alex Lyon
7651d4d3fc
Get rid of all warnings on Linux (or at least WSL)
2019-05-01 21:14:40 -07:00
Alex Lyon
db35eab23b
Remove git dependencies
2019-05-01 21:14:39 -07:00
Alex Lyon
e0eb10cd37
Make Appveyor use the windows feature instead of generic
2019-05-01 21:14:25 -07:00
Alex Lyon
63f1537838
Add windows feature and make unix imply generic
2019-05-01 21:14:25 -07:00
Alex Lyon
179de609b5
Replace trim_{left,right} with trim_{start,end} and co. (using Rerast)
2019-05-01 21:14:25 -07:00
Alex Lyon
c7d115b1ad
Convert all try!() to ?
2019-05-01 21:14:25 -07:00
Alex Lyon
c851e00dbd
Change the last supported Rust version to 1.31.0
2019-05-01 21:14:25 -07:00
Alex Lyon
4469a326fd
Disable installation test on FreeBSD due to sphinx-build issue
2019-05-01 21:14:25 -07:00
Alex Lyon
220e07dc95
Test on FreeBSD using Cirrus CI and link to the Discord in the README
2019-05-01 21:14:25 -07:00
Alex Lyon
52785d6a4b
Merge pull request #1368 from uutils/dependabot/cargo/libc-0.2.53
...
build: bump libc from 0.2.51 to 0.2.53
2019-04-30 19:49:07 -07:00
Alex Lyon
0101351290
Merge pull request #1369 from Dr-Emann/uucore_signals_cleanup
...
Uucore signals cleanup
2019-04-30 19:41:05 -07:00
Zachary Dremann
6fe687c84b
Replace starts_with and slice with trim_left_matches
2019-04-30 21:02:29 -04:00
Zachary Dremann
34eceae2ef
Don't allocate in signal_by_name_or_value
2019-04-29 21:53:14 -04:00
Zachary Dremann
8378c28242
Fix is_signal
2019-04-29 21:35:07 -04:00
Zachary Dremann
1ed8a016c1
Add tests for signals (including failing test for is_signal
2019-04-29 21:32:28 -04:00
dependabot[bot]
08ec78b634
build: bump libc from 0.2.51 to 0.2.53
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.51 to 0.2.53.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.51...0.2.53 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-29 21:06:56 +00:00
Alex Lyon
d448fd81c5
Merge pull request #1316 from rivy/fix.env
...
fix ~ env: support windows commands (BAT/CMD, builtins)
2019-04-29 14:04:53 -07:00
Roy Ivy III
31655fc004
env: add support for new '--file' option (includes testing)
...
.# Discussion
This commit adds support for a '-f'/'--file' option which reads "KEY=VALUE" lines from
a config (or ini) style text file and sets the corresponding environment key. This is
modeled after the same option in the `dotenv` and `godotenv` commands. Notably, this
commit does *not* add automatic loading of ".env" configuration files.
The environment variables set by reading the configuration file are set prior to any
unset (eg, `-u BAR`) or set (eg, `FOO=bar`) actions. Files are loaded in order with
later files overwriting any overlapping environment variables, then, unset actions (in
command line order) are executed, then, finally, set actions (in command line order)
are executed.
[1] [`dotenv`](https://github.com/bkeepers/dotenv )
[2] [`godotenv`](https://github.com/joho/godotenv )
2019-04-29 09:50:22 -05:00
Roy Ivy III
9dc31cc1ce
env: enhance support for windows commands (BAT/CMD, builtins)
...
.# Discussion
`env`/`uutils env` didn't support CMD built-in commands (dir, echo, erase, ...),
BAT/CMD files, nor the usual semantics for command search and execution via
PATHEXT (eg, it wouldn't find/execute `batch.BAT` when given just `batch`).
This patch executes the commands via a CMD subshell and fixes all of those issues.
2019-04-29 09:50:22 -05:00
Roy Ivy III
f72fff7b42
augment UCommand with #[derive(Debug)]
to allow improved test diagnostics
2019-04-29 09:46:15 -05:00
Roy Ivy III
c512ae0c52
env: add test for "env
fails echo on windows"
2019-04-29 09:32:00 -05:00
Alex Lyon
bcc821caa8
Merge pull request #1363 from rethab/reject-null-with-program
...
env: reject program with --null, error stderr
2019-04-28 04:04:23 -07:00
Reto Habluetzel
905d01623d
env: extend help for --null
2019-04-28 12:53:17 +02:00
Reto Habluetzel
2d2042c8fc
env: reject program with --null, error stderr
2019-04-28 11:17:44 +02:00
cnd
75249e1e5d
Merge pull request #1360 from uutils/dependabot/cargo/filetime-0.2.5
...
build: bump filetime from 0.2.4 to 0.2.5
2019-04-24 16:23:05 +04:00
dependabot[bot]
2d55e5ca85
build: bump filetime from 0.2.4 to 0.2.5
...
Bumps [filetime](https://github.com/alexcrichton/filetime ) from 0.2.4 to 0.2.5.
- [Release notes](https://github.com/alexcrichton/filetime/releases )
- [Commits](https://github.com/alexcrichton/filetime/compare/0.2.4...0.2.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-24 07:26:10 +00:00
Alex Lyon
d9627af4ae
Merge pull request #1335 from uutils/dependabot/cargo/rand-0.6.5
...
Bump rand from 0.5.5 to 0.6.5
2019-04-23 19:36:20 -07:00
Alex Lyon
062a86fb92
Merge pull request #1359 from wnklmnn/dependabot/cargo/rand-0.6.5
...
replace deprecated functions
2019-04-23 19:29:35 -07:00
Pascal Winkelmann
e18b5a5096
replace deprecated functions
2019-04-24 01:35:52 +02:00
Alex Lyon
4537cce4fc
Merge pull request #1310 from dvrax/chown-ref-fix
...
chown: change first file with --reference
2019-04-23 14:59:57 -07:00
Marcus Millin
7625878cd7
chown: change first file with --reference
2019-04-23 16:30:17 -05:00
dependabot[bot]
32325da059
Bump rand from 0.5.5 to 0.6.5
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.5.5 to 0.6.5.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.5.5...0.6.5 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-04-23 17:39:22 +00:00
Alex Lyon
be91d50361
Merge pull request #1343 from uutils/dependabot/cargo/lazy_static-1.3.0
...
Bump lazy_static from 1.2.0 to 1.3.0
2019-04-23 10:37:18 -07:00
Alex Lyon
01966e8aab
Merge pull request #1356 from Arcterus/echo-locked-stdout
...
echo: write using locked stdout
2019-04-08 15:57:02 -07:00
Alex Lyon
cefbe6c1f2
Merge pull request #1319 from rivy/fix.touch
...
fix ~ touch: fix and test for windows
2019-04-08 15:16:26 -07:00
Roy Ivy III
44af40797c
touch: fix ~ recategorize 'touch' from 'fuchsia' (ie, unix) to 'generic'
2019-04-07 09:14:46 -05:00