pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/shells/nushell



Module Name:    pkgsrc
Committed By:   pin
Date:           Wed Sep 28 06:55:19 UTC 2022

Modified Files:
        pkgsrc/shells/nushell: Makefile cargo-depends.mk distinfo

Log Message:
shells/nushell: update to 0.69.1

Today, we're releasing version 0.69 of Nu.

Note: this release is officially 0.69.1 because of a last-minute issue that was
found and fixed.

As part of this release, we also publish a set of optional plugins you can
install and use with Nu.

Themes of this release
Finishing the rework of modules and environment (WindSoilder, kubouch)

If you followed the development since the last release, you might have noticed
we successfully applied "the method of dead ends" pioneered by Jára Cimrman

"Somebody had to probe this dead end of human knowledge and announce to the
world: Not this way, friends!"
In short, the source-env experiment did not work out as planned. We hoped to
allow to call source-env with dynamic paths which, however, proved unfeasible.
Therefore, in this release, we remove all notions of source-env from Nushell
and instead use will be used activate the module's environment.
Any call to use will run the module's export-env { ... } block (if there is one)
and keep its environment. A positive side of it is that one call of use is
enough to import both commands/aliases and the environment, there is no need to
call two separate commands as we planned for source-env.

We're also keeping the source command for now, as well as the current config
file format. One reason is that we want to first investigate whether it is
possible to export also regular variables from modules and whether we can use
the module keyword inside modules. However, the use of modules is still
preferred over source as it will become the default way in the future.

Upcoming virtualenv activation changes (kubouch)

To reflect the recent changes to the module environment, we are changing the
virtualenv integration to use overlays. This will come in effect as soon as
this PR

gets merged. In practice, this means that instead of source activate.nu, you'll
use overlay use activate.nu, deactivate will work the same.

Under the hood, calling overlay use activate.nu will activate the activate
overlay and deactivate is just an alias for calling overlay hide activate.
If you wish, you can manually name the overlay, for example overlay use
activate.nu as spam, but then you'd need to remove it with overlay hide spam
instead of deactivate.

Grammar Experiments (JT)

We've recently also started working on some improvements to Nushell's syntax.
While these aren't part of Nushell 0.69, you can try this experimental syntax
in our new grammar

repo. Some experiments we're looking into:

Traditional function definition syntax

def foo(x: int) { ... }

Traditional function call syntax

foo(3)

And much more. We're hoping to talk more about these experiments as they mature.

Breaking changes

We found a regression in the correctness of the -d and -t flags of touch.
To get the release out, we've removed these flags, but hope to replace them
with correct implementations in the future.

We also removed support for duration literals above weeks, including month,
year, and decade literals. These were found to be confusing as it's unclear
what a duration of a month is (30 days? 31 days?)

The str collect command is now str join.

Next Steps

We've been progressing with our design towards 0.80 as outlined in this Notion
page.

Some time was spent trying out possible new syntax directions but we were not
confident to release them yet. In the next release we'll see a removal of
features deprecated in this release and we'll continue to push ahead for
the 0.80.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/shells/nushell/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/shells/nushell/cargo-depends.mk
cvs rdiff -u -r1.15 -r1.16 pkgsrc/shells/nushell/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/shells/nushell/Makefile
diff -u pkgsrc/shells/nushell/Makefile:1.21 pkgsrc/shells/nushell/Makefile:1.22
--- pkgsrc/shells/nushell/Makefile:1.21 Fri Sep  9 08:45:19 2022
+++ pkgsrc/shells/nushell/Makefile      Wed Sep 28 06:55:19 2022
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.21 2022/09/09 08:45:19 pin Exp $
+# $NetBSD: Makefile,v 1.22 2022/09/28 06:55:19 pin Exp $
 
-DISTNAME=      nushell-0.68.1
+DISTNAME=      nushell-0.69.1
 CATEGORIES=    shells
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=nushell/}
 

Index: pkgsrc/shells/nushell/cargo-depends.mk
diff -u pkgsrc/shells/nushell/cargo-depends.mk:1.11 pkgsrc/shells/nushell/cargo-depends.mk:1.12
--- pkgsrc/shells/nushell/cargo-depends.mk:1.11 Tue Sep  6 20:46:24 2022
+++ pkgsrc/shells/nushell/cargo-depends.mk      Wed Sep 28 06:55:19 2022
@@ -1,4 +1,4 @@
-# $NetBSD: cargo-depends.mk,v 1.11 2022/09/06 20:46:24 pin Exp $
+# $NetBSD: cargo-depends.mk,v 1.12 2022/09/28 06:55:19 pin Exp $
 
 CARGO_CRATE_DEPENDS+=  Inflector-0.11.4
 CARGO_CRATE_DEPENDS+=  addr2line-0.17.0
@@ -76,7 +76,7 @@ CARGO_CRATE_DEPENDS+= convert_case-0.4.0
 CARGO_CRATE_DEPENDS+=  core-foundation-0.9.3
 CARGO_CRATE_DEPENDS+=  core-foundation-sys-0.8.3
 CARGO_CRATE_DEPENDS+=  cortex-m-0.7.5
-CARGO_CRATE_DEPENDS+=  cpufeatures-0.2.2
+CARGO_CRATE_DEPENDS+=  cpufeatures-0.2.5
 CARGO_CRATE_DEPENDS+=  crc32fast-1.3.2
 CARGO_CRATE_DEPENDS+=  criterion-0.3.6
 CARGO_CRATE_DEPENDS+=  criterion-plot-0.4.5
@@ -379,7 +379,7 @@ CARGO_CRATE_DEPENDS+=       rayon-core-1.9.3
 CARGO_CRATE_DEPENDS+=  rdrand-0.4.0
 CARGO_CRATE_DEPENDS+=  redox_syscall-0.2.15
 CARGO_CRATE_DEPENDS+=  redox_users-0.4.3
-CARGO_CRATE_DEPENDS+=  reedline-0.11.0
+CARGO_CRATE_DEPENDS+=  reedline-0.12.0
 CARGO_CRATE_DEPENDS+=  regex-1.6.0
 CARGO_CRATE_DEPENDS+=  regex-automata-0.1.10
 CARGO_CRATE_DEPENDS+=  regex-syntax-0.6.27
@@ -446,7 +446,7 @@ CARGO_CRATE_DEPENDS+=       smawk-0.3.1
 CARGO_CRATE_DEPENDS+=  snap-1.0.5
 CARGO_CRATE_DEPENDS+=  socket2-0.4.4
 CARGO_CRATE_DEPENDS+=  spin-0.9.4
-CARGO_CRATE_DEPENDS+=  sqlparser-0.16.0
+CARGO_CRATE_DEPENDS+=  sqlparser-0.23.0
 CARGO_CRATE_DEPENDS+=  stable_deref_trait-1.2.0
 CARGO_CRATE_DEPENDS+=  static_assertions-1.1.0
 CARGO_CRATE_DEPENDS+=  streaming-decompression-0.1.0
@@ -466,7 +466,7 @@ CARGO_CRATE_DEPENDS+=       sxd-document-0.3.2
 CARGO_CRATE_DEPENDS+=  sxd-xpath-0.4.2
 CARGO_CRATE_DEPENDS+=  syn-1.0.98
 CARGO_CRATE_DEPENDS+=  sys-locale-0.2.1
-CARGO_CRATE_DEPENDS+=  sysinfo-0.25.2
+CARGO_CRATE_DEPENDS+=  sysinfo-0.26.2
 CARGO_CRATE_DEPENDS+=  tabled-0.8.0
 CARGO_CRATE_DEPENDS+=  tabled_derive-0.4.0
 CARGO_CRATE_DEPENDS+=  tempdir-0.3.7

Index: pkgsrc/shells/nushell/distinfo
diff -u pkgsrc/shells/nushell/distinfo:1.15 pkgsrc/shells/nushell/distinfo:1.16
--- pkgsrc/shells/nushell/distinfo:1.15 Fri Sep  9 08:45:19 2022
+++ pkgsrc/shells/nushell/distinfo      Wed Sep 28 06:55:19 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.15 2022/09/09 08:45:19 pin Exp $
+$NetBSD: distinfo,v 1.16 2022/09/28 06:55:19 pin Exp $
 
 BLAKE2s (Inflector-0.11.4.crate) = 2f8b4a805230be3b58267c7fb6b9c26c2ec966378d195673d1128a851cca515d
 SHA512 (Inflector-0.11.4.crate) = f1f6463e033b6d3c16c51dc1e1a3f5569954308b95b59058294b7f9310919bbda797e99e6a07529071bb83f0688867a243997d33795a7136b0af73977004296e
@@ -228,9 +228,9 @@ Size (core-foundation-sys-0.8.3.crate) =
 BLAKE2s (cortex-m-0.7.5.crate) = 703c819604f6c779243ffd796c873bf8541e5533546daf80788350c0cd5be81c
 SHA512 (cortex-m-0.7.5.crate) = 50e41e7a91fd8e4e1d1fc1afbce412e94c38ac2df411a90c6f8dd24cbac56fa68bac77bc6c87c55ec2aa2848793c14da79da82f42a99d791e56aa87821c4e228
 Size (cortex-m-0.7.5.crate) = 140834 bytes
-BLAKE2s (cpufeatures-0.2.2.crate) = 1570c85f34c7ec0597deea28a71a4011558fbf84cae95cb18e26f7b44789f60d
-SHA512 (cpufeatures-0.2.2.crate) = a771a86e2fa26033b27d22fe250968cd80cc64031838d1c111ad5c69951d5f29de0cad375965c7c2cbceda2a005dedaf6df15c699041c9d0cf65a1c2033f69c5
-Size (cpufeatures-0.2.2.crate) = 10655 bytes
+BLAKE2s (cpufeatures-0.2.5.crate) = bf68588c7b4829cfbdbb7cf189e12c84775dbe21e796bf0b81c42d5a3a41c020
+SHA512 (cpufeatures-0.2.5.crate) = d02327a27ca9fc3c587dcbd10da6b1370671cd7b1df8dfc9078b47180744d0572ef41a7ec205ae9f1c571e5b7f4bc81278ab4c6b076c6ccac0167100e346e74e
+Size (cpufeatures-0.2.5.crate) = 11251 bytes
 BLAKE2s (crc32fast-1.3.2.crate) = c60cd89cc50c52d5bedb1e7ce6c6299196d26700152f85282218c6fe15ec2a8b
 SHA512 (crc32fast-1.3.2.crate) = a683943e252afdb1b9d626a07533ed11cf7a63af603c19640056c5d2b9c884ad9aff33ac54c0853ffca2f6cf94b0730eae6c05abf3e53e55e709d180c8152357
 Size (crc32fast-1.3.2.crate) = 38661 bytes
@@ -855,9 +855,9 @@ Size (num_cpus-1.13.1.crate) = 14752 byt
 BLAKE2s (num_threads-0.1.6.crate) = 16dafe947f10db7667201144859b311f1d2fdcaec5984b5f0986e8de75345e5f
 SHA512 (num_threads-0.1.6.crate) = b2d9897e29e59353379b6372a629fc7f9afc89f777b4410eaeac7b4729527948a8dbecb175f056899f9076693ef855cc0d40e725cc54f28af588fbac5f7ce3b6
 Size (num_threads-0.1.6.crate) = 7334 bytes
-BLAKE2s (nushell-0.68.1.tar.gz) = ff986b29d89fb1d9b7ef6b8c1a3479ff49af4b9d7ed8352dc28b911493166288
-SHA512 (nushell-0.68.1.tar.gz) = f2f5640ec4b5bdf5b2751932e5c91b42cbce8f8e14ea393e8970b47de0754949e3e8727dab059ff698e8cf7a50bb1f49871c0ba031502099583cf01ea55fb5f9
-Size (nushell-0.68.1.tar.gz) = 2379809 bytes
+BLAKE2s (nushell-0.69.1.tar.gz) = e5ccb55c092a94878532650f4bf9f03d8076c9341de62b6f286b84348eae3bd3
+SHA512 (nushell-0.69.1.tar.gz) = 063026ad60a9fe0a1917d11b90efabc2fdeafa4b542c8b2a9db5022462b1d9098b99f7c0605074d81d27716ecfca46478ffde4dd568f7673915bb1e85a6f5fb2
+Size (nushell-0.69.1.tar.gz) = 2386247 bytes
 BLAKE2s (objc-0.2.7.crate) = e34a570a877d402bef4a22098157a24171ada921812037222da0b82a1424f391
 SHA512 (objc-0.2.7.crate) = 7178870c8e4e9154b4c7b4953b3164946b7ce72c956a02b9ba18889353c72be735824bd73e44a485e42ad5f97994820d9153ac684629342755a6a63711ab5988
 Size (objc-0.2.7.crate) = 22036 bytes
@@ -1140,9 +1140,9 @@ Size (redox_syscall-0.2.15.crate) = 2400
 BLAKE2s (redox_users-0.4.3.crate) = fafe5c327db7de7f8b6340807a14fb60bdea5ac74634a60379b62c4793cb447b
 SHA512 (redox_users-0.4.3.crate) = 0d3366e23cf93e1b0e025a29025eaebfcd1145bd158e2663b94fd952dc2d8a25566819e3a03c4136ca16a6408d37396e2ead0814c3f0c2bb10334dfd0b838fda
 Size (redox_users-0.4.3.crate) = 15353 bytes
-BLAKE2s (reedline-0.11.0.crate) = 9c109075d438a447f0340b1d68d96b7f364eb248f43afbfc993c387fc7925bb6
-SHA512 (reedline-0.11.0.crate) = d26086279113e62382cedc342c8530099dc9ab4ad54e50f262cc1e706e550bbfa12f17ca0161722f7dc5750f9bb86bd0112a06ee61e776d32a4557bd34a8c927
-Size (reedline-0.11.0.crate) = 100852 bytes
+BLAKE2s (reedline-0.12.0.crate) = 4643b83e0b8c5a6386e10fa40576e7505ec56cef6aad13a73bb5b5ed29523869
+SHA512 (reedline-0.12.0.crate) = aa47ac44c2dd4e766d2501c80ac36e95957e13e2b0408f8c8fbde640972fd2a4dd4eed7479207ffeb13efe25da12f238ed3a71c2dcb6bae0e5db78712034b041
+Size (reedline-0.12.0.crate) = 103250 bytes
 BLAKE2s (regex-1.6.0.crate) = c7c925a5e0978d7b7f7ecbffcf550553fb6b81bffb4c5082d9784752e8387bb2
 SHA512 (regex-1.6.0.crate) = b4861c9cc13d6fb224f67057fd3522f04576591b3d7ae0d3581dce42ca2b2bff96860cf2a7f4dfab00e46a1d29e6473f6723c4aeb02e34ed6d5f205b66f07876
 Size (regex-1.6.0.crate) = 239329 bytes
@@ -1341,9 +1341,9 @@ Size (socket2-0.4.4.crate) = 44048 bytes
 BLAKE2s (spin-0.9.4.crate) = 41ba6cf77bb34d812d58661d124b2cc721488e061314dde733b463e4bc8864bc
 SHA512 (spin-0.9.4.crate) = 156b1c471292e8cb874b59129454b56b5e84a0f10b5d064433e0abfc3384c1a594b12b095acd26da350d7f81e6849da9c07c9a506b4aa0ac4808ce3f70b5511c
 Size (spin-0.9.4.crate) = 30180 bytes
-BLAKE2s (sqlparser-0.16.0.crate) = 90b10451a98269a50994f2632324ea1815eb24dc010db9912108d51cda369b5a
-SHA512 (sqlparser-0.16.0.crate) = b38642e7f1c1cc0ca9c3283235d5641a2c326841d59c24936619806c9311cf5d740bdb314bb8622acce97502f0015bbf64bd52d484ced4003d9b41a25ca941ca
-Size (sqlparser-0.16.0.crate) = 74073 bytes
+BLAKE2s (sqlparser-0.23.0.crate) = 881c6f2e0399def4066abe68fe72f440924b52f6a963fd3d81cf8bdf56528b67
+SHA512 (sqlparser-0.23.0.crate) = fe3530bf3360232c0ee23cfdeff20dd46051704202133cbaacb847efea558ebd9ad61c698392d681e983e8f09360bfc3c85faf31744cafcb682855e270a9bb50
+Size (sqlparser-0.23.0.crate) = 88685 bytes
 BLAKE2s (stable_deref_trait-1.2.0.crate) = 4ccf524130eadac6b21106564de56e582d0f308b32442552d70bb9d313c53920
 SHA512 (stable_deref_trait-1.2.0.crate) = a13cfb22723f1f2cf089b2d07d657846f50c37bc0438d1a76096bea30214cad226b7a422c21f9e191ce87071da8a141d61882aedf9e0203a5fffdfda86a5fb03
 Size (stable_deref_trait-1.2.0.crate) = 8054 bytes
@@ -1401,9 +1401,9 @@ Size (syn-1.0.98.crate) = 235451 bytes
 BLAKE2s (sys-locale-0.2.1.crate) = 9bf8bf9b56c526ae24fbaf8269fe4ccd56f3e20eacba93512ad23db54b5ea23c
 SHA512 (sys-locale-0.2.1.crate) = c2d67165f609320692fc8938931996a775aeba7fb319246c8340010b33994fc2f637beff68a0c7fae26e7a3d8b19f43770e2585263df92f65bcad7f4666a0fa9
 Size (sys-locale-0.2.1.crate) = 13014 bytes
-BLAKE2s (sysinfo-0.25.2.crate) = 66379a1161ed174c475dfd7920799d977dd1d02a87ecc57a6c967935f997ce03
-SHA512 (sysinfo-0.25.2.crate) = 3d2866d9fd3ee1073d2a0f0b7829e11da8a0f8d088a85e5de7bf96cfe9d477e421874bb8483fac37e07286c20b34c796f32180d47b6cedfa11010dddc7c1c294
-Size (sysinfo-0.25.2.crate) = 126369 bytes
+BLAKE2s (sysinfo-0.26.2.crate) = 47b27084f1ec97ee370c14c83c523a864598814fcc263a26408c9a00698b74af
+SHA512 (sysinfo-0.26.2.crate) = 182f56cf783b5d9fe83510c181d97c72f563c00ad86a94946478be4fb47032b8ca6bf402a9834fe226023a48e3fd8810a68acdca81e3ef15753f428e01592a2c
+Size (sysinfo-0.26.2.crate) = 131634 bytes
 BLAKE2s (tabled-0.8.0.crate) = 2e98515ffd952c942a6078a54e5836a0e1935a11419bd25347a70ecc8f4ca523
 SHA512 (tabled-0.8.0.crate) = 0232fda1fe5e627d9bd0ddc09091a902852492eb3e73acef45671eb1248b4e6c6ae9f5dd2351a7ec0035948c00dd9ed2f199cf6f21beb2d066084a03d5b384ac
 Size (tabled-0.8.0.crate) = 111125 bytes



Home | Main Index | Thread Index | Old Index