Skip to content

Instantly share code, notes, and snippets.

@amtoine
Last active April 15, 2023 16:11
Show Gist options
  • Save amtoine/a46c5cb1da94b3f0791b735663c03d9e to your computer and use it in GitHub Desktop.
Save amtoine/a46c5cb1da94b3f0791b735663c03d9e to your computer and use it in GitHub Desktop.
inspect all nushell issues

inspect all nushell issue

first issues.nuon

{
    issues: (
        gh -R nushell/nushell issue list --limit (inf | into int) --json number
        | from json
        | get number
        | reverse
    )
    current: 0
} | save issues.nuon
{issues: [163, 247, 442, 510, 549, 903, 934, 1038, 1053, 1134, 1275, 1329, 1570, 1608, 1677, 1688, 1731, 1783, 1960, 2091, 2175, 2317, 2402, 2607, 2731, 2775, 2990, 3001, 3096, 3237, 3276, 3378, 3435, 3466, 3472, 3551, 3585, 3593, 3609, 3726, 3727, 3728, 3734, 3735, 3764, 3769, 3784, 3792, 3799, 3815, 3822, 3843, 3882, 3889, 3913, 3928, 3937, 3938, 3943, 3947, 3953, 3955, 3957, 3976, 3990, 3993, 4020, 4044, 4075, 4083, 4093, 4100, 4282, 4104, 4105, 4285, 4110, 4115, 4134, 4288, 4153, 4290, 4292, 4293, 4183, 4294, 4296, 4188, 4190, 4193, 4305, 4308, 4313, 4319, 4227, 4230, 4321, 4327, 4329, 4330, 4338, 4358, 4359, 4360, 4351, 4346, 4344, 4343, 4326, 4323, 4320, 4274, 4307, 4301, 4297, 4395, 4454, 4460, 4471, 4501, 4523, 4539, 4564, 4580, 4595, 4605, 4609, 4624, 4631, 4652, 4662, 4676, 4701, 4711, 4737, 4754, 4771, 4781, 4784, 4834, 4837, 4869, 4874, 4917, 4921, 4922, 4934, 4937, 4955, 4965, 4969, 4977, 4981, 5008, 5011, 5012, 5013, 5023, 5025, 5029, 5030, 5031, 5034, 5035, 5036, 5045, 5064, 5066, 5067, 5068, 5071, 5089, 5091, 5093, 5144, 5155, 5169, 5186, 5189, 5196, 5211, 5223, 5226, 5236, 5245, 5252, 5263, 5283, 5285, 5286, 5290, 5292, 5293, 5295, 5296, 5305, 5309, 5325, 5342, 5344, 5347, 5348, 5361, 5388, 5421, 5428, 5436, 5439, 5456, 5497, 5517, 5519, 5542, 5551, 5552, 5558, 5582, 5585, 5592, 5595, 5597, 5612, 5617, 5626, 5640, 5655, 5660, 5661, 5663, 5682, 5683, 5720, 5727, 5740, 5743, 5755, 5757, 5794, 5799, 5806, 5811, 5831, 5850, 5851, 5856, 5860, 5862, 5870, 5875, 5884, 5900, 5904, 5912, 5914, 5917, 5924, 5927, 5929, 5951, 5953, 5958, 5959, 5960, 5961, 5966, 5985, 5986, 5994, 6001, 6011, 6021, 6026, 6039, 6046, 6061, 6069, 6072, 6075, 6095, 6100, 6101, 6109, 6128, 6133, 6145, 6174, 6178, 6203, 6207, 6214, 6222, 6225, 6231, 6254, 6263, 6276, 6280, 6315, 6338, 6339, 6340, 6352, 6353, 6364, 6367, 6372, 6377, 6378, 6386, 6388, 6401, 6403, 6413, 6416, 6427, 6428, 6436, 6450, 6465, 6466, 6467, 6469, 6471, 6484, 6502, 6506, 6522, 6530, 6532, 6533, 6554, 6569, 6573, 6574, 6577, 6581, 6583, 6591, 6593, 6598, 6606, 6617, 6619, 6621, 6622, 6630, 6647, 6653, 6654, 6659, 6662, 6664, 6683, 6696, 6697, 6699, 6703, 6718, 6726, 6734, 6735, 6739, 6740, 6742, 6744, 6745, 6751, 6755, 6757, 6758, 6762, 6765, 6767, 6769, 6772, 6776, 6785, 6787, 6788, 6805, 6807, 6808, 6818, 6820, 6823, 6827, 6831, 6833, 6844, 6846, 6848, 6853, 6855, 6857, 6862, 6864, 6866, 6871, 6872, 6876, 6878, 6880, 6882, 6886, 6889, 6900, 6902, 6907, 6921, 6928, 6934, 6939, 6941, 6952, 6954, 6960, 6968, 6970, 6971, 6972, 6974, 6977, 6979, 6992, 7004, 7009, 7017, 7022, 7024, 7027, 7032, 7033, 7034, 7036, 7039, 7044, 7048, 7057, 7085, 7106, 7108, 7125, 7126, 7127, 7128, 7131, 7147, 7149, 7151, 7153, 7154, 7160, 7166, 7167, 7169, 7171, 7174, 7187, 7189, 7190, 7202, 7207, 7218, 7226, 7245, 7247, 7260, 7268, 7276, 7289, 7291, 7292, 7297, 7304, 7305, 7308, 7319, 7335, 7337, 7361, 7368, 7369, 7371, 7372, 7377, 7381, 7386, 7397, 7414, 7416, 7420, 7438, 7442, 7444, 7459, 7463, 7471, 7474, 7479, 7481, 7484, 7499, 7516, 7521, 7525, 7526, 7528, 7530, 7538, 7550, 7557, 7561, 7562, 7566, 7579, 7584, 7613, 7614, 7622, 7630, 7633, 7640, 7642, 7644, 7653, 7654, 7655, 7665, 7676, 7682, 7690, 7694, 7695, 7698, 7699, 7703, 7704, 7705, 7707, 7727, 7741, 7744, 7746, 7758, 7760, 7761, 7780, 7790, 7792, 7810, 7817, 7818, 7819, 7827, 7832, 7843, 7849, 7853, 7855, 7862, 7863, 7869, 7881, 7882, 7898, 7915, 7924, 7931, 7932, 7936, 7937, 7938, 7941, 7951, 7982, 7983, 7988, 7991, 7993, 7994, 7995, 8005, 8006, 8007, 8016, 8023, 8024, 8030, 8031, 8032, 8036, 8037, 8053, 8054, 8060, 8072, 8074, 8076, 8078, 8079, 8089, 8091, 8093, 8095, 8097, 8099, 8100, 8108, 8112, 8113, 8115, 8122, 8127, 8162, 8166, 8168, 8169, 8174, 8175, 8180, 8184, 8206, 8213, 8214, 8222, 8224, 8230, 8232, 8241, 8242, 8248, 8253, 8254, 8257, 8277, 8281, 8288, 8296, 8311, 8318, 8322, 8323, 8334, 8338, 8344, 8350, 8352, 8355, 8360, 8364, 8371, 8385, 8386, 8388, 8393, 8400, 8401, 8413, 8423, 8429, 8433, 8434, 8436, 8450, 8451, 8452, 8461, 8463, 8471, 8479, 8481, 8483, 8484, 8497, 8507, 8517, 8520, 8522, 8523, 8527, 8537, 8541, 8543, 8549, 8551, 8553, 8555, 8556, 8565, 8569, 8572, 8574, 8577, 8582, 8584, 8589, 8603, 8615, 8624, 8639, 8642, 8643, 8652, 8654, 8662, 8664, 8667, 8668, 8670, 8676, 8678, 8685, 8687, 8689, 8692, 8693, 8696, 8701, 8703, 8714, 8723, 8729, 8731, 8732, 8736, 8756, 8762, 8769, 8773, 8775, 8778, 8781, 8782, 8783, 8785, 8790, 8810, 8813, 8814, 8817, 8819, 8821, 8823, 8825, 8826, 8828, 8829, 8831, 8834, 8847, 8848, 8851, 8852, 8853, 8854, 8856, 8862, 8863, 8869, 8872, 8874, 8882, 8883, 8885, 8888, 8890], current: 37}
def get-issues [] {
open issues.nuon | get issues
}
def get-current [] {
open issues.nuon | get current
}
def get-issue [] {
get-issues | get (get-current)
}
export def-env next [] {
open issues.nuon | update current { (get-current) + 1 } | save --force issues.nuon
print $"now looking at (get-issue)"
}
export def-env prev [] {
open issues.nuon | update current { (get-current) - 1 } | save --force issues.nuon
print $"now looking at (get-issue)"
}
export def-env view [
repo: string
--next (-n): bool
--prev (-p): bool
] {
if $next { next }
if $prev { prev }
let issue = (get-issue)
$"($issue)" | clip --silent
print $"pulling down ($issue)"
gh -R $repo issue view ($issue) --comments
}
meta-issue-completions: complete custom commands with known values
meta-issue-source: cannot source with a variable name or from inside block
meta-issue-forward: the option forwarding
163: should that be handled by std? or, as said by hyiltiz, not handled by `nushell`?
247: do we still want background tasks?
442: is that handled by `help -f`? in a possible extension of `tutor`?
510:
- in `vim` mode, one can press "u" to go back but "<c-r>" does not appear to be working
- remove `investigate` label?
549: that looks interesting. should have the `pipeline` label
903: maybe make this a task list. are MISSING still missing?
1038: should be labeled as bug, duplicate with #247 as @kubouch said?
1053: do not think this is a good thing to have, the "configurable preview shortcut" idea of @pwnorbitals what we could give as example is great
also i don't see when the intermediate results appear in the history and make the "up arrow" tideous :thinking:
1134: should be a bug and i can't reproduce. has the BNF been addressed?
1329: this can be done with a closure, right?
1570: do we still want this to be built-in?
1608: we have commands to do that, right? otherwise, just parse the output of a command
1677: meta-issue-completion
1688: label as `bug` and can't repro
1731: not a fan of that tbh
1783: should be labeled with `inconsistent-behaviour`
1960:
2091: `bug` + can't repro
2175: i'm pretty sure this is controlled by `path expand` right?
2317: i would not support this, we have `$"($...)"`
2402: do we have that?
2607:
2775: `enhancement` + `editor-specific`
2990: `bug` + meta-issue-source
3001: `enhancement`. is it done?
3096: `chart` command does not exist anymore
3237: that looks addressed, right?
3276: meta-issue-forward
3378: `enhancement` + `good-first-issue`?
3435: `question` i think that's just doable with `let-env PATH = ...` now, from startup or while running, right?
3466: `bug` addressed now, right?
3472: addressed, now we need to use `./foo` to auto-cd
3551: "All nushell scripts currently output textual data, like standard POSIX shell scripts." i think it does not behave like that anymore
3585: `bug` => that looks quite deprecated
3593: `bug` => can be addressed easily with `into string` or `$"..."`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment