<feed xmlns='http://www.w3.org/2005/Atom'>
<title>npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/src/git_remote_helper.rs, branch v1.5.3</title>
<subtitle>Personal mirror of DanConwayDev/ngit-cli on git.upleb.uk
</subtitle>
<id>https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/atom?h=v1.5.3</id>
<link rel='self' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/atom?h=v1.5.3'/>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/'/>
<updated>2024-09-04T12:30:59+00:00</updated>
<entry>
<title>refactor: organise into lib and bin structure</title>
<updated>2024-09-04T12:30:59+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2024-09-04T07:04:48+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/commit/?id=949c6459aa7683453a7160423b689ceadb08954b'/>
<id>urn:sha1:949c6459aa7683453a7160423b689ceadb08954b</id>
<content type='text'>
the make the code more readable

this commit just moves the files, the next commit should fix the imports
</content>
</entry>
<entry>
<title>feat(remote): enhance nostr url format</title>
<updated>2024-09-03T14:30:37+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2024-09-03T14:30:37+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/commit/?id=a825311f2c55661aaab3a163bda9109295c96044'/>
<id>urn:sha1:a825311f2c55661aaab3a163bda9109295c96044</id>
<content type='text'>
add protocol and user parameters so that users can overide the
protcol in the clone url and use specific protocols for
fetch and push. see:
nostr:nevent1qvzqqqqqqypzpgqgmmc409hm4xsdd74sf68a2uyf9pwel4g9mfdg8l5244t6x4jdqyxhwumn8ghj7mn0wvhxcmmvqqsp6a5ck6grd9lq0nu25dcfzggxde67erut76w0ucal5rcfq4y5gzc7gmpzm

the override feature hasn't been implemented yet but
this is an enabler.

also added a new format so that macos (zsh) users don't
have to use quotes:
nostr://&lt;optional-protocol&gt;/npub123/&lt;optional-relay&gt;/identifer
</content>
</entry>
<entry>
<title>feat(remote): fallback to ssh or https</title>
<updated>2024-08-30T12:39:05+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2024-08-30T12:39:05+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/commit/?id=8a9fc6336ae52ed73160719feeae96db9889feb0'/>
<id>urn:sha1:8a9fc6336ae52ed73160719feeae96db9889feb0</id>
<content type='text'>
ssh clone urls are problematic as it requires authentication for
fetching if users don't ave ssh keys setup for authentication with
the git server. so cloning / fetching will fail.

some users only authenticate using https and some only using ssh
so we cant just use https for everything.

this commit falls back to the other protocol if the first one failed
for list, fetch or push
</content>
</entry>
<entry>
<title>fix(remote): push pr shoudln't connect to server</title>
<updated>2024-08-30T09:23:28+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2024-08-30T09:23:28+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/commit/?id=b4459e98d816f6f278a4e9ab76883008d0b946fe'/>
<id>urn:sha1:b4459e98d816f6f278a4e9ab76883008d0b946fe</id>
<content type='text'>
as reported by arjen and tracked via:
nostr:nevent1qvzqqqqx25pzpgqgmmc409hm4xsdd74sf68a2uyf9pwel4g9mfdg8l5244t6x4jdqy2hwumn8ghj7ur4wfcxcetjv4kxz7fwvdhk6qpqur335cpnlktwkhv43d8sdk24dpu79jnfuk9qyvk7kga6aencm77sj7e8fa

as our tests are connecting to clone url in the file system its difficult to write a test for this
</content>
</entry>
<entry>
<title>fix(remote): add auth for ssh `list` and `fetch`</title>
<updated>2024-08-30T09:09:46+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2024-08-30T09:05:41+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/commit/?id=f735aeb69942546b4d6c2ae1156d20db2edb24f3'/>
<id>urn:sha1:f735aeb69942546b4d6c2ae1156d20db2edb24f3</id>
<content type='text'>
as authentication is always required if clone url is ssh
</content>
</entry>
<entry>
<title>chore: bump rust-nostr to v0.34.0</title>
<updated>2024-08-28T15:42:53+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2024-08-28T13:20:34+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/commit/?id=a5216602749bff55c2773acce098c91942cd3920'/>
<id>urn:sha1:a5216602749bff55c2773acce098c91942cd3920</id>
<content type='text'>
bump all rust-nostr packages

I'm not sure I'm completely happy with allowing mutable_key_type
but it is just run inside tests

it appears that Event didn't have the Copy trait in v0.33.0 so I'm
not sure why this warning suddenly appeared

the timeout of client.get_events_of needed to be doubled which could
indicate that an ineffiency has been introduced in v0.34.0

the primary motivation for upgrading now was to get this fix:
nostr:nevent1qqsffl2ld678pjj77rh9k2g4edljmxdu6ew4lvgnglxv7jhu3ru8vvcpp4mhxue69uhkummn9ekx7mqzyzsq3hh327t0h2dq6matqn5064cgj2zanl2stkj6s0lg4t2h5dty6rm2ucm
as I suspect it is also effecting other repositories
eg nostr-profile-manager
</content>
</entry>
<entry>
<title>fix(remote): clone failure</title>
<updated>2024-08-27T10:56:36+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2024-08-27T10:56:36+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/commit/?id=ec6a6fcc1321c6824e000dda4860cf21e0cdae57'/>
<id>urn:sha1:ec6a6fcc1321c6824e000dda4860cf21e0cdae57</id>
<content type='text'>
clone fails due to error:
`Error: failed to fetch objects in nostr state event from:`

interestingly this error doesnt appear when the git url is a
local repository in a file server so the tests dont fail
</content>
</entry>
<entry>
<title>fix:(remote): only maintainers can push</title>
<updated>2024-08-20T11:32:26+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2024-08-20T11:32:26+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/commit/?id=09bf648d4a36bc9ada0cff9438aa3b3f98631600'/>
<id>urn:sha1:09bf648d4a36bc9ada0cff9438aa3b3f98631600</id>
<content type='text'>
and update / issue a state event.

normal users can only push branches prefiex with pr/
and these go on nostr, not the git server.
</content>
</entry>
<entry>
<title>fix(remote): `push` tags use correct oid</title>
<updated>2024-08-20T10:58:17+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2024-08-20T10:58:17+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/commit/?id=a9a81ed040990a8431c4b4b05bf5deb551732b09'/>
<id>urn:sha1:a9a81ed040990a8431c4b4b05bf5deb551732b09</id>
<content type='text'>
use ^{} postfix for the commit id and without postfix for the tag id
</content>
</entry>
<entry>
<title>feat: set proposal branch prefix to `pr/`</title>
<updated>2024-08-20T05:25:17+00:00</updated>
<author>
<name>DanConwayDev</name>
<email>DanConwayDev@protonmail.com</email>
</author>
<published>2024-08-20T05:25:17+00:00</published>
<link rel='alternate' type='text/html' href='https://upleb.uk/npub1tkq8unhsd5jqx6ueex5lcpsgknrpquxuk44ftpjlpm3ulaake7xs76txrw/ngit-cli-mirror/commit/?id=fedf5166f0c57db14b9e43747121e4b7845b63dd'/>
<id>urn:sha1:fedf5166f0c57db14b9e43747121e4b7845b63dd</id>
<content type='text'>
from `prs/`.

whilst plural reflects usage of `heads` and `tags` in git refs,
singular is shorter and more reflective of usage of branch prefixes
such as `feature/` `fix/`
</content>
</entry>
</feed>
