Andrés N. Robalino
f326680cad
Merge pull request #652 from androbtech/cobertura
...
first and get coverage.
2019-09-12 07:44:40 -05:00
Andrés N. Robalino
c2eefece0e
Remove warnings.
2019-09-12 06:12:19 -05:00
Andrés N. Robalino
7838dac689
first and get coverage.
2019-09-12 05:22:58 -05:00
Andrés N. Robalino
39489a75aa
Merge pull request #651 from androbtech/nix-regex
...
Removes regex crate dependency.
2019-09-12 02:35:35 -05:00
Andrés N. Robalino
e4ed8c94ad
dot character is valid in Windows plugin binaries.
2019-09-12 02:20:22 -05:00
Andrés N. Robalino
c57c0eb371
pass lint checks.
2019-09-12 01:49:01 -05:00
Andrés N. Robalino
b35549adac
Removes regex crate dependency.
2019-09-11 22:20:42 -05:00
Jonathan Turner
4edc7422cd
Merge pull request #649 from max-sixty/fmt
...
Fmt
2019-09-12 07:22:34 +12:00
Jonathan Turner
3fca94cf66
Merge pull request #650 from vsoch/add/missing-docker-dependencies
...
Adding missing docker dependencies openssl and pkgconfig
2019-09-12 07:21:10 +12:00
Maximilian Roos
206998a41a
install correct version
2019-09-11 13:56:30 -04:00
Vanessa Sochat
1f3f3d3105
adding missing docker dependencies openssl and pkgconfig
...
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-11 13:44:23 -04:00
Maximilian Roos
5ca075e38b
already installed in CI
2019-09-11 13:14:31 -04:00
Maximilian Roos
dbefbcb046
CI
2019-09-11 13:06:59 -04:00
Fahmi Akbar Wildana
9dc58247e5
Fix wrong patch on glibc-busybox
...
because distroless/cc doesn't contain libz
2019-09-11 23:49:11 +07:00
Maximilian Roos
3c9a0e0e1a
Merge branch 'master' into fmt
2019-09-11 10:36:54 -04:00
Maximilian Roos
127381497c
run rustfmt
2019-09-11 10:36:50 -04:00
Jonathan Turner
53cfa09cd2
Merge pull request #645 from nushell/revert-643-improve-external-words
...
Revert "Migrate most uses of the Span concept to Tag"
2019-09-11 20:43:52 +12:00
Jonathan Turner
bee7c5639c
Revert "Migrate most uses of the Span concept to Tag"
2019-09-11 19:53:05 +12:00
Jonathan Turner
f05c7d6792
Merge pull request #628 from max-sixty/build-warnings
...
Fix build warnings & add CI
2019-09-11 18:40:03 +12:00
Jonathan Turner
4c2796f11c
Merge pull request #643 from nushell/improve-external-words
...
Migrate most uses of the Span concept to Tag
2019-09-11 17:18:54 +12:00
Yehuda Katz
58b7800172
Migrate most uses of the Span concept to Tag
...
Also migrate mv, rm and commands like that to taking a
SyntaxType::Pattern instead of a SyntaxType::Path for their first
argument.
2019-09-10 20:41:03 -07:00
Fahmi Akbar Wildana
62e6cc4dae
Add libgcc_s.so.1 for glibc-busybox
2019-09-11 09:38:22 +07:00
Fahmi Akbar Wildana
095e5ac69f
Add librt.so.1 for glibc-busybox
2019-09-11 09:10:38 +07:00
Fahmi Akbar Wildana
149ccc4fd3
Fix glibc-{busybox,distroless}
...
* Add libdl.so.2 for glibc-busybox
* Change base-image of glibc-distroless to gcr.io/distroless/cc
2019-09-11 06:41:37 +07:00
Andrés N. Robalino
f47349c1a0
Merge pull request #632 from nushell/improve-external-words
...
Close a bunch of holes in external command args
2019-09-10 12:37:43 -05:00
Andrés N. Robalino
540e93aa3a
question mark character can also be in glob patterns.
2019-09-10 12:26:56 -05:00
Yehuda Katz
b15bb2c667
Added glob patterns to the syntax shapes
...
Bare words now represent literal file names, and globs are a different
syntax shape called "Pattern". This allows commands like `cp` to ask for
a pattern as a source and a literal file as a target.
This also means that attempting to pass a glob to a command that expects
a literal path will produce an error.
2019-09-10 09:00:50 -07:00
Andrés N. Robalino
191cc96b14
Merge pull request #635 from androbtech/fix
...
to-[csv/tsv] fixes.
2019-09-10 07:12:11 -05:00
Andrés N. Robalino
ba8383ae2f
to-[csv/tsv] fixes.
2019-09-10 07:00:25 -05:00
Maximilian Roos
ae74ba5bb0
Merge branch 'master' into build-warnings
...
# Conflicts:
# src/commands/config.rs
2019-09-10 07:08:15 -04:00
Andrés N. Robalino
2dcbf78385
Merge pull request #633 from androbtech/conf
...
config test harness.
2019-09-10 05:42:44 -05:00
Andrés N. Robalino
11ef007491
Paths can be displayed as strings.
2019-09-10 05:28:15 -05:00
Andrés N. Robalino
f61144006f
config test harness.
2019-09-10 05:08:01 -05:00
Maximilian Roos
45201cb284
combine build & test
2019-09-09 17:04:14 -04:00
Fahmi Akbar Wildana
d4240ffb4d
Delete .dockerignore ⚠️
...
something weird about CircleCI build
it can't find target/release/nu
although it's whitelisted in the .dockerignore 🤔
2019-09-10 01:10:45 +07:00
Jonathan Turner
7e2d701725
Merge pull request #631 from jonathandturner/light_tables
...
Add lighter-weight table output
2019-09-10 05:59:11 +12:00
Yehuda Katz
4d3e7efe25
Close a bunch of holes in external command args
...
Previously, there was a single parsing rule for "bare words" that
applied to both internal and external commands.
This meant that, because `cargo +nightly` needed to work, we needed to
add `+` as a valid character in bare words.
The number of characters continued to grow, and the situation was
becoming untenable. The current strategy would eventually eat up all
syntax and make it impossible to add syntax like `@foo` to internal
commands.
This patch significantly restricts bare words and introduces a new token
type (`ExternalWord`). An `ExternalWord` expands to an error in the
internal syntax, but expands to a bare word in the external syntax.
`ExternalWords` are highlighted in grey in the shell.
2019-09-09 10:43:10 -07:00
Jonathan Turner
35522ec6d8
Merge pull request #630 from vsoch/tweak/nightly-build
...
Tweaking nightly build - didnt seem to go off
2019-09-10 05:34:56 +12:00
Jonathan Turner
aea11cf742
Merge branch 'master' into light_tables
2019-09-10 05:11:11 +12:00
Jonathan Turner
d1167151fc
Add support for light tables
2019-09-10 05:10:52 +12:00
Fahmi Akbar Wildana
6b2a7d6793
Fix .dockerignore compatibility with .circleci/
...
Signed-off-by: Fahmi Akbar Wildana <f.a.wildana@gmail.com>
2019-09-09 23:48:29 +07:00
Vanessa Sochat
4a2172a7f2
tweaking nightly build - didnt seem to go off
...
Signed-off-by: Vanessa Sochat <vsochat@stanford.edu>
2019-09-09 12:44:07 -04:00
Jonathan Turner
8e3b7e2373
Merge pull request #629 from est31/fix_setting_config
...
Fix setting configuration params
2019-09-10 04:02:17 +12:00
est31
1d3483b590
Add a test
2019-09-09 13:39:43 +02:00
est31
1277bfe0fb
Fix setting configuration params
...
Fixes #627
Fixes a regression caused by #579 , specifically commit cc8872b4ee
.
The code was intended to perform a comparison between the wanted
output type and "Tagged<Value>" in order to be able to provide a
special-cased path for Tagged<Value>. When I wrote the code, I
used "name" as a variable name and only later realized that it
shadowed the "name" param to the function, so I renamed it to
type_name, but forgot to change the comparison.
This broke the special-casing, as the name param only contains
the name of the struct without generics (like "Tagged"), while
`std::any::type_name` (in the current implementation) contains
the full paths of the struct including all generic params
(like "nu::object::meta::Tagged<nu::object::base::Value>").
2019-09-09 13:22:18 +02:00
Maximilian Roos
cf2c19706e
fix build warnings & add CI
2019-09-09 06:03:01 -04:00
Fahmi Akbar Wildana
0ca7aaa56f
Add libz for glibc-{busybox,distroless}
...
Signed-off-by: Fahmi Akbar Wildana <f.a.wildana@gmail.com>
2019-09-09 16:45:55 +07:00
Fahmi Akbar Wildana
7c541000a1
Iterate over tag rather than base-image
...
Signed-off-by: Fahmi Akbar Wildana <f.a.wildana@gmail.com>
2019-09-09 07:15:51 +07:00
Jonathan Turner
1878bb8a54
Merge pull request #624 from vsoch/test/nightly-builds
...
Adding nightly build to CircleCI
2019-09-09 11:29:31 +12:00
Fahmi Akbar Wildana
d900d8b4c7
Fix can't execute entrypoint
...
Signed-off-by: Fahmi Akbar Wildana <f.a.wildana@gmail.com>
2019-09-09 05:41:58 +07:00