upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-06-13 09:26:37 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-06-13 09:26:37 +0100
commit65330e734ebc33ab09baff744fe77d2324b56043 (patch)
tree0bac2b0fbb12e774ab7ebfa41b476e0d539ce1a8 /src
parentf1b3fcc40ab666d8def97096d1942c274da9b279 (diff)
feat(init): add euc marker to commit reference
based on nip34 update. see nip repository commit 8fe6e062254b37f77540088cccff60fa8615751
Diffstat (limited to 'src')
-rw-r--r--src/repo_ref.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/repo_ref.rs b/src/repo_ref.rs
index 9fb1f0c..7016257 100644
--- a/src/repo_ref.rs
+++ b/src/repo_ref.rs
@@ -117,7 +117,10 @@ impl RepoRef {
117 } else { 117 } else {
118 self.identifier.to_string() 118 self.identifier.to_string()
119 }), 119 }),
120 Tag::from_standardized(TagStandard::Reference(self.root_commit.to_string())), 120 Tag::custom(
121 nostr::TagKind::Custom(std::borrow::Cow::Borrowed("r")),
122 vec![self.root_commit.to_string(), "euc".to_string()],
123 ),
121 Tag::from_standardized(TagStandard::Name(self.name.clone())), 124 Tag::from_standardized(TagStandard::Name(self.name.clone())),
122 Tag::from_standardized(TagStandard::Description(self.description.clone())), 125 Tag::from_standardized(TagStandard::Description(self.description.clone())),
123 Tag::custom( 126 Tag::custom(