1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 06:37:46 +00:00
Commit graph

16 commits

Author SHA1 Message Date
Douglas
a8919f9c01
Update TWiN script (#1047)
* Retrieves previous 7 days of contributions by default
* Checks all repos under the `nushell` user - Reports against the most
recent (up to 30, and we currently only have 26) with updates.
* Uses the GitHub client to authenticate if available, with fallback to
a token, then username/password
* Cleans up a lot of the URL building using more recent Nushell
commands.
2025-02-17 12:59:52 -05:00
Reilly Wood
614b073310
Fix TWiN script (#944)
At some point this broke, just committing a fix I've had on my personal
computer for a while.

```
# This week in Nushell #261


## Nushell

Error: nu:🐚:name_not_found

  × Name not found
    ╭─[/home/reilly/github/nu_scripts/make_release/this_week_in_nu_weekly.nu:36:48]
 35 │
 36 │             for user in ($site_json | group-by user_login | transpose user prs) {
    ·                                                ─────┬────
    ·                                                     ╰── did you mean 'user.login'?
 37 │                 let user_name = $user.user
    ╰────
```
2024-08-30 05:47:45 -05:00
Igor
13f2c47135
Port before_v0.60/make_release folder (#830)
This PR is part of porting all old scripts #221 and ports `make_release`
folder
## Summary

### make_release/this_week_in_nu_weekly.nu
This script has already been ported and has received some updates: #433.
So I just removed it
```yaml
from: before_v0.60/make_release/this_week_in_nu_weekly.nu
to: make_release/this_week_in_nu_weekly.nu
functions:
    do-work: make_release/this_week_in_nu_weekly.nu:1:query-week-span
```

### make_release/this_week_in_nu_release.nu

I have ported this, but I'm not sure if we need it because it has
strange name and we have `prs.nu` and `make_release/release-note/`

```yaml
from: before_v0.60/make_release/this_week_in_nu_release.nu
to: make_release/this_week_in_nu_release.nu
functions:
    do-work: make_release/this_week_in_nu_release.nu:1:do-work
```

### make_release/nu_release.nu

This has already been ported to `make_release/nu_release.nu` and has
received new updates #828 so I just removed it

```yaml
from: before_v0.60/make_release/nu_release.nu
to: make_release/nu_release.nu
```

### make_release/gen-js-ext.nu
This has already been moved to `make_release/gen-js-ext.nu` and has
received new updates #621 but not completely ported so I have ported it
- pipeline `for` to `each`
- `$nu.scope.commands` to `scope commands`
- explicit `print`
```yaml
from: before_v0.60/make_release/gen-js-ext.nu
to: make_release/gen-js-ext.nu
functions:
  gen_keywords: make_release/gen-js-ext.nu:1:gen_keywords
  gen_sub_keywords: make_release/gen-js-ext.nu:20:gen_sub_keywords
```

### make_release/gen-ts-ext.nu
I have ported this script
```yaml
from: before_v0.60/make_release/gen-ts-ext.nu
to: make_release/gen-ts-ext.nu
functions:
  gen-ts-cmds-begin: make_release/gen-ts-ext.nu:1:gen-ts-cmds-begin
  gen-ts-cmds: make_release/gen-ts-ext.nu:18:gen-ts-cmds
  gen-ts-subs: make_release/gen-ts-ext.nu:40:gen-ts-subs
```
2024-05-13 09:53:13 -04:00
JT
7bff42fd29
Update TWiN and since last release to 0.78 (#433) 2023-04-02 19:33:52 +02:00
JT
ddcf11963b
Fix TWiN script (#328) 2022-12-17 07:44:24 +13:00
JT
6f9d6250d4
Switch to 'and' and 'or' (#322)
* Switch to 'and' and 'or'

* oops
2022-12-08 12:52:10 +13:00
Stefan Holderbach
203727b291
Update old question mark commands any?/all?/empty? to any/all/is-empty (#287)
* Replace `all?` with `all` for nushell/nushell#6464

* Replace `any?` with `any` for nushell/nushell#6464

* Replace `emtpy?` with `is-empty`

Account for nushell/nushell#6464

* Ignore for `before_v0.60` scripts
2022-09-05 16:43:01 +02:00
Darren Schroeder
b8158bf062
add nana to twin script (#263) 2022-07-09 09:36:20 -05:00
JT
77b3adca16
update nu weekly script (#227) 2022-05-21 10:07:28 +12:00
Darren Schroeder
ca89da5242
reorganize site in preparation for beta and releaes (#161) 2022-02-25 13:10:38 -06:00
JT
b2d41f218f
Update this_week_in_nu_weekly.nu 2021-09-27 19:42:55 +13:00
JT
1aa84d7a5e Add engine-q to the weekly script 2021-09-11 10:43:21 +12:00
Darren Schroeder
b54aaf3c4d added username/password as env vars so that we don't hit rate limit 2021-09-02 08:16:07 -05:00
Darren Schroeder
920b8be17e update to the new table syntax 2021-06-26 18:04:05 -05:00
Darren Schroeder
3cfea4955a change per page count from 30 to 100 2021-06-21 08:40:19 -05:00
Darren Schroeder
0171910dfb a little reorganization 2021-05-26 13:30:36 -05:00
Renamed from this_week_in_nu_weekly.nu (Browse further)