upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-07-01test: fix test affected by user configsommerfeld
applies: nostr:note14jnggugkcf9vg42tcu6h8c842xlxacsatw7uf889xjjdtqr0ptlsfa5tyh closes nostr:note1mm77j27kvmkwvvvvth7w4atgjhxrydafl5jkhh7eztkx4fxq4nqq6fnd6y
2024-06-28feat(login): login with nostr address via nip46DanConwayDev
currently using patched version of rust-nostr with function to fetch nip46 relays from nip05 providers. this patch has been merged so it will make it into the next rust-nostr release.
2024-06-28test: increase timeout for expensive testDanConwayDev
as it is failing intermitantly since it is being run in parellel
2024-06-28feat(login): login with nip46 remote signerDanConwayDev
and save details in git config
2024-06-26refactor: remove fresh test configDanConwayDev
as config is now stored using git config and cache is conditionally stored in local ./git folder under test conditions
2024-06-25refactor: replace keys with signerDanConwayDev
so that nip46 bunker signing can be added
2024-06-25test: fix login in testsDanConwayDev
ensure fresh global cache when under test conditions by conditionally storing it in local ./git folder
2024-06-24fix: binary wont runDanConwayDev
on machines not used to compile. it produces error: 'cannot execute: required file not found'
2024-06-24feat(login): store in git config and use cacheDanConwayDev
replace ngit yaml file config with: * nsec / ncryptsec / npub in git config in nostr.* namespace * sql database cache for metadata and relay events allow different logins to be used for different git repositories by storing login in local git config
2024-06-21build: fix CLITesterConfirmPrompt succeeds withDanConwayDev
when the non-default option correctly sent
2024-06-13feat(git): add get and save git config itemDanConwayDev
local or global but tests only added for local
2024-06-13build: use reliable relays in maintainers.yamlStella
add nostr.einundzwanzig.space as suggested by silberengel remove poorly performing relays
2024-06-13feat(init): add euc marker to commit referenceDanConwayDev
based on nip34 update. see nip repository commit 8fe6e062254b37f77540088cccff60fa8615751
2024-06-13chore: bump rust-nostr to v0.32.0DanConwayDev
both nostr and nostr-sdk packages and also in test_utils fix the many breaking changes fix: ignore trailing slash when depuplicate relays for send events. this was picked up as TagStandard::RelayMetadata has started adding a traling slash. refactor cli output test function `expect_send_with_progress` so that relays can succeed / fail in a random order
2024-06-11refactor: bump rust-nostr to v0.30 use ncryptsecDanConwayDev
bump nostr and nostr-sdk packages and also in test_utils remove custom ncryptsec implementation and use the newly added implementation nip49 version in rust-nostr note a patched v0.30 is used so that log_n is exposed so that user can be warned it might take a few seconds to decrypt. this has now been merged into the library. note that this will no longer decrypt existing ncryptsec values as it is uses a longer string. this should therefore be bundled with the upcoming change to storing nsec and ncryptsec in git config.
2024-05-23feat: add NIP-31 alt tagsDanConwayDev
to repo announcements, patches and cover letters
2024-05-14chore: bump to v1.2.1v1.2.1DanConwayDev
changelog: *fix `ngit init` support for multiple maintainers
2024-05-14fix: `ngit init` multiple maintainersDanConwayDev
fixes: nostr:nevent1qqsz2g7gexkmqgr0x4g5kf9py8vx06p8nyn78v7mhevprasnyfy5swcpp4mhxue69uhkummn9ekx7mqzyr7jprhgeregx7q2j4fgjmjgy0xfm34l63pqvwyf2acsd9q0mynuzdyll0c
2024-05-14chore: bump to v1.2.0v1.2.0DanConwayDev
changelog: * remove unreliable relay.f7z.io from default relay set * `ngit send --in-reply-to` tag any nostr notes and npubs in proposals * `ngit send` link to proposal on gitworkshop
2024-05-07feat(send): `in-reply-to` tags npubs and eventsDanConwayDev
in addition to being used to create a new proposal revision, in-reply-to can now be used to reference other events and npubs. for example an issues or kind 1 threads where the proposal is relevant the proposal will only be marked as a revision if the first parameter is a reference to an existing proposal root
2024-04-24fix: remove relay.f7z.io from default relaysDanConwayDev
as over the last 2-3 weeks it has consitantly be timing out
2024-04-22feat(send): print link to proposal rootDanConwayDev
after a new root proposal has been sent link directly to gitworkshop.dev as well as njump.me until gitworkshop is added to njump
2024-04-19build: fix lint warningDanConwayDev
remove unused binding
2024-04-16chore: bump to v1.1.2v1.1.2DanConwayDev
changelog: * improve relay timeout behaviour * fix `ngit init` handling of multiple values eg `clone` * improve reliability via with dependancy upgrade * build via nix in ci
2024-04-16build: update cargo.toml homepage and repoDanConwayDev
away for github and towards gitworkshop.dev
2024-04-15chore: cargo updateDanConwayDev
update dependancies to latest version stated in cargo.toml
2024-04-10feat: reduce connection timeout 6s ~> 3sDanConwayDev
seperate connection timeout from get_events_of timeout and reduce it to 3s
2024-04-09chore: update rust nightly in nixDanConwayDev
whilst fmt is using nightly it doesnt appear that clippy is previous attempts to update the rustfmt nightly version have resulted in a large number of errors which needed resolving. the change was backed out because of other priorities. It appears now that clippy is not using the nightly version and there are no regressions
2024-04-09chore: nix flake updateDanConwayDev
update nix dependancies to latest version using default update options
2024-04-08chore: bump nostr-relay-pool v0.29.4DanConwayDev
to fix relay.get_events_of timeout
2024-04-08feat(init): support multiple git_serversDanConwayDev
in line with initial merged nip34 spec
2024-04-08feat: reduce `get_events` timeout 10s ~> 6sDanConwayDev
if relays do not connect and retun events within 3s they will rarely connect at all this could be reversed when get_events is used async
2024-04-01chore: nix flake updateDanConwayDev
update nix dependancies to latest version using default update options
2024-04-01chore: cargo updateDanConwayDev
update dependancies to latest version stated in cargo.toml
2024-03-28Merge upgrade rust-nostr v0.29DanConwayDev
refactor to address breaking changes in rust-nostr fix a number of in dependancy which have been upstreamed
2024-03-28build: use nix for tests ciDanConwayDev
using the same dependancies in ci as in development
2024-03-28refactor: allow pedantic clippy warning large_futuresDanConwayDev
rust-nostr author suggested this might be a false positive https://github.com/rust-nostr/nostr/pull/375#issuecomment-2022245832
2024-03-28test: fix intermittent test failuresDanConwayDev
caused by test proposals with the same timestamp listed in an inconsistant list order; by ensuring test proposals have a different timestamps
2024-03-27bump nostr-relay-pool to v0.29.2DanConwayDev
yukibtc released a patch to address intermittent problem fetching events, which caused our integration tests to fail
2024-03-27bump nostr-relay-pool to v0.29.1DanConwayDev
as patch accepted into package
2024-03-27use patched nostr-rust v0.29DanConwayDev
to address send_event_to spurious timeout error
2024-03-27fix: relay connection timeout panicDanConwayDev
upgrade from rust-nostr v0.27 ~> v0.28 introduces this panic presumably get_events attempted to write to the MultiProgress just after it has been removed
2024-03-27refactor: more concise error messageDanConwayDev
to suppress the clippy too_many_lines in function warning
2024-03-27replace blocking client in tests with asyncDanConwayDev
as it has been removed from nostr_sdk
2024-03-25update tag generationDanConwayDev
to reflect changes in rust-nostr
2024-03-22replace XOnlyPublicKey with wrapper PublicKeyDanConwayDev
to reflect new name in rust-nostr
2024-03-22rename from_sk_str -> from_strDanConwayDev
to reflect new name in rust-nostr
2024-03-22use Sha1Hashin new locationDanConwayDev
it had moved from 'prelude' to 'hashes'
2024-03-22ClientSigner renamed ~> NostrSignerDanConwayDev
to reflect new name in rust-nostr
2024-03-22chore: bump rust-nostr to v0.29.0DanConwayDev
both nostr and nostr-sdk packages and also in test_utils
2024-03-22chore: nix flake updateDanConwayDev
update nix dependancies to latest version using default update options
2024-03-22chore: cargo updateDanConwayDev
update dependancies to latest version stated in cargo.toml
2024-03-08chore: bump to v1.1.1v1.1.1DanConwayDev
changelog: * fix stack overflow bug when origin remote doesnt exist
2024-03-08fix: stack overflow bugDanConwayDev
introduced in 098b0258fdd581c750099cb463adbddb57843388
2024-03-08chore: bump to v1.1.0v1.1.0DanConwayDev
changelog: * `ngit send` - improve proposal commit
2024-03-08feat(send): compare against origin/main vs mainDanConwayDev
catch more errors when proposed commits are not connected to origin/main branch improve default selected commits when on main branch
2024-03-08feat(send): select commits from a listDanConwayDev
when since_or_range isn't specified adds resilience as assuming master..HEAD can cause some issues eg when master is not up-to-date with origin/master
2024-03-04fix: restore better error messageDanConwayDev
which is covered by a test case. broken by: 445eea13d987b345535fd4fa56486ff334bbd351
2024-03-04refactor: improve rexpect error messageDanConwayDev
to enable better debugging
2024-03-04fix: grammar in cli output patch ~> patchesDanConwayDev
fixing error which should have been resolved in: 8519dc4a10d47747e6df3f47e25c36bf16befe00
2024-03-04fix(send): feature branch default to ahead of mainDanConwayDev
instead of the latest commit. issue intrroduced in: 445eea13d987b345535fd4fa56486ff334bbd351
2024-03-04test: ensure failed tests timeoutDanConwayDev
resolve a long standing test issue where failures to output the correct message in the cli would result in the test never ending rather than failing the many test cases updated in this change are to ensure failures are caught rather than ignored some of them are just refactored to remove calling an extra function, which is no longer needed note: this doesn't fix the intermittent issue, most commonly experienced under the nix configuration, where tests that should pass occationally never end preventing the rest of the suite from running
2024-03-04fix: typo in help content@RandyMcMillan
change donwload ~> download
2024-03-01chore: improve readme copyDanConwayDev
pointing to gitworkshop.dev for more details
2024-03-01feat(send): fix grammar in cli outputDanConwayDev
refer to a single patch as patch rather than patches
2024-03-01feat(send): when on main default to sending 1 patchDanConwayDev
based on feedback from santos: nostr:31c085a584cbd30f71a44a70eaf828c2c8c5f6e3efb7942547edb37cf4a632cf
2024-02-29chore: bump to v1.0.0v1.0.0DanConwayDev
following semantic versioning, this release includes breaking changes so it has a new major version this is not reflection on its stability
2024-02-29build: added to gitignoreDanConwayDev
so temporarly created test directories and files are ignored
2024-02-29feat(send): add proposal revision cli msgDanConwayDev
before cover letter prompt primarily this is to make it clearer that a proposal update is being sent when using `ngit push --force` instead of a new proposal
2024-02-29build: timeout ci tests after 8 minutesDanConwayDev
as runs are now taking slightly longer than 5 minutes
2024-02-28fix: branch-name specified as main or masterDanConwayDev
branch-name should be ommitted or ignored if patches created on main or master instead it should be infered based on commit msg
2024-02-23refactor: populate readmeDanConwayDev
with introduction, commands and how to contribute
2024-02-23feat(list): newest proposals firstsDanConwayDev
show proposals in order newest first
2024-02-23feat(init): improve copy orderDanConwayDev
move instruction to commit and push maintainers.yaml to end of file
2024-02-23feat(init): add customisation and defaultsDanConwayDev
- allow more cli input options - allow customisation of more fields in interface - change default identifer from shorthand root commit to short name - defaults to existing repo event (users or other) or maintainers.yaml
2024-02-23fix(push): remove force push bugDanConwayDev
introduced in b931b37e26486e4e6d15f302e87141dcf2f596ba
2024-02-23refactor: remove confusing options, improve helpDanConwayDev
from_branch and to_branch have been replaced by specifying revision ranges
2024-02-23refactor: remove confusing options, improve helpDanConwayDev
from_branch and to_branch have been replaced by specifying revision ranges
2024-02-23feat(push): add `--force` to issue revisionDanConwayDev
wrapping `send --in-reply-to` unless branch up-to-date
2024-02-22fix: apply patches errorDanConwayDev
introduced in 9f1d8cd964a04197565a2acb1f2b174c9582d333
2024-02-22refactor: fix spellingDanConwayDev
ammended should read amended
2024-02-22test(list): local proposal amendedDanConwayDev
added test to cover local propsal being amended this should catch error for rebased proposals as well
2024-02-22refactor(list): improve copyDanConwayDev
reduce wording in choices
2024-02-22fix: applying commits that exist in other branchesDanConwayDev
previously these commits would be skipped
2024-02-22fix(list): local rebase detected as ammendmentsDanConwayDev
also updated copy and code comments
2024-02-22refactor: simplifed ammendments and rebasesDanConwayDev
to align with changes done to pull c5dfd1b7e509eedc33de75343de8659e3c9e0b2a also improved copy
2024-02-22refactor: simplifed ammendments and rebasesDanConwayDev
to align with changes done to pull c5dfd1b7e509eedc33de75343de8659e3c9e0b2a also improved copy
2024-02-22fix(pull): local rebase detected as ammendmentsDanConwayDev
also updated copy and code comments
2024-02-22test(pull): local commits on uptodate proposalDanConwayDev
add test for scenario
2024-02-22test(list): local commits on uptodate proposalDanConwayDev
add test for scenario and tweak copy
2024-02-22feat(pull): support `--in-reply-to` revisionsDanConwayDev
added tests to cover one of these rebase scenarios
2024-02-22feat(list): improved copy for rebase scenariosDanConwayDev
and added some comments to better describe the rebase scenarios
2024-02-22fix(list): support `--in-reply-to` latest revisionDanConwayDev
update list to support rebases via proposal revisions as created by `ngit send --in-reply-to` or upcoming change `ngit push --force`
2024-02-21feat(send): in-reply-to arg for revised proposalDanConwayDev
send a revised version of a proposal using the new in-replyto argument suppliments existing 'root' tag with 'root-revision' e 'reply' tag to the original proposal
2024-02-21feat(send): specify commits eg HEAD~2DanConwayDev
specifiy commits or commit ranges in the same way that `git format-patch` allows
2024-02-20feat(list): set checkout branch as default choiceDanConwayDev
instead of no default. note: I spent hours trying to get CliTester to support default choices and gave up. I have a stashed the attempt and am moving on...
2024-02-20fix(pull): applying proposal revisionsDanConwayDev
if a revision responds to a root patch (no cover letter) then the revision will nolonger be applied on top of the first patch in the original set
2024-02-20refactor: tweak error wordingDanConwayDev
remove the word nostr for consistency and as its a bit confusing
2024-02-20feat(list): download or apply with git amDanConwayDev
add the option to download patches or apply them with git am give more granular messages about the state of proposals. add support for replacing old proposal version with a new one
2024-02-20refactor: simplify commit msg extractionDanConwayDev
and create functions to use this for non-root patches