-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
infra: atproto git #15
Comments
Related: #15 Signed-off-by: John Andersen <[email protected]>
2024-11-23 Engineering Logs
pdsadmin account create [email protected] john.atproto.chadig.com
pdsadmin account create [email protected] alice.atproto.chadig.com
python -m keyring set $(git config user.email) password.john.atproto.chadig.com
python -m keyring set [email protected] password.alice.atproto.chadig.com
reference-implementation/git_http_backend.py Lines 329 to 337 in 7dca3fb
reference-implementation/git_http_backend.py Lines 93 to 119 in 7dca3fb
rm -rf /tmp/alice-repos/my-repo.git my-repo
python git_http_backend.py --repos-directory /tmp/alice-repos &
git clone http://localhost:8080/my-repo.git && cd my-repo
echo Test >> README.md && git add README.md && git commit -sm README.md && git push
kill %1
parent: null
post:
author:
associated: null
avatar: null
created_at: "0001-01-01T00:00:00.000Z"
did: did:plc:vjnm5ukoaxy4fi4clcqhagud
display_name: null
handle: alice.atproto.chadig.com
labels: []
py_type: app.bsky.actor.defs#profileViewBasic
viewer:
blocked_by: false
blocking: null
blocking_by_list: null
followed_by: null
following: null
known_followers: null
muted: false
muted_by_list: null
py_type: app.bsky.actor.defs#viewerState
cid: bafyreigs4ihxc55x7qyw2epffa6duphyh2kmcbwe634jmg3ccy3brcw7ma
embed: null
indexed_at: "2024-11-24T02:01:04.285Z"
labels: []
like_count: 0
py_type: app.bsky.feed.defs#postView
quote_count: 0
record:
created_at: "2024-11-24T02:01:02.934680+00:00"
embed: null
entities: null
facets: null
labels: null
langs:
- en
py_type: app.bsky.feed.post
reply:
parent:
cid: bafyreicoroyxvyevdkk7dytzyi33qspdie25luhcqg7cyrq4yuujjuuzy4
py_type: com.atproto.repo.strongRef
uri: at://did:plc:vjnm5ukoaxy4fi4clcqhagud/app.bsky.feed.post/3lbntvamtos2l
py_type: app.bsky.feed.post#replyRef
root:
cid: bafyreicoroyxvyevdkk7dytzyi33qspdie25luhcqg7cyrq4yuujjuuzy4
py_type: com.atproto.repo.strongRef
uri: at://did:plc:vjnm5ukoaxy4fi4clcqhagud/app.bsky.feed.post/3lbntvamtos2l
tags: null
text: my-repo
reply_count: 25
repost_count: 0
threadgate: null
uri: at://did:plc:vjnm5ukoaxy4fi4clcqhagud/app.bsky.feed.post/3lbnvyk3dgk2l
viewer:
embedding_disabled: false
like: null
pinned: null
py_type: app.bsky.feed.defs#viewerState
reply_disabled: null
repost: null
thread_muted: false
py_type: app.bsky.feed.defs#threadViewPost
replies: [] Below screenshot is showing ATProto used to store .git object data for repos, https://pdsls.dev to see the image of the git object of the YAML of the ATProto post for it, and documentation with a summary of the method for graphing them is as follows (prototyping using ATProto instead of ActivityPub currently)
|
2024-11-24 Engineering Logs
ATPROTO_BASE_URL=https://atproto.chadig.com ATPROTO_HANDLE=alice.atproto.chadig.com ATPROTO_PASSWORD=$(python -m keyring get [email protected] password.alice.atproto.chadig.com) ATPROTO_PINNED_POST_URI="at://did:plc:vjnm5ukoaxy4fi4clcqhagud/app.bsky.feed.post/3lbnnsi6vzc2l" ATPROTO_PINNED_POST_CID="bafyreigs4ihxc55x7qyw2epffa6duphyh2kmcbwe634jmg3ccy3brcw7ma" deno --allow-env --allow-net update_profile.js
|
Related: #15 (comment) Signed-off-by: John Andersen <[email protected]>
Related: #15 (comment) Signed-off-by: John Andersen <[email protected]>
…uplicating iterations on cache restore Related: #15 Signed-off-by: John Andersen <[email protected]>
…to deal with updates to files such as refs/heads/main Asciinema: https://asciinema.org/a/691859 Related: #15 Signed-off-by: John Andersen <[email protected]>
Asciinema: https://asciinema.org/a/692542 Related: #15 Thread: https://bsky.app/profile/johnandersen777.bsky.social/post/3lbprej6hsc22 Signed-off-by: John Andersen <[email protected]>
Related: publicdomainrelay/reference-implementation#15 Signed-off-by: John Andersen <[email protected]>
2024-11-28 Engineering Logs
name: Release
on:
push:
branches:
- "main"
- "v*"
jobs:
pypi-publish:
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.x"
- run: python -m pip install -U build
- run: python -m build
- uses: pypa/gh-action-pypi-publish@release/v1
with:
verify-metadata: false
python -m pip install gitatp
curl -fsSL https://deno.land/install.sh | sh
git config --global user.email $USER@example.com
git config --global user.atproto $USER.atproto-pds.fqdn.example.com
python -m keyring set $USER@example.com password.$USER.atproto-pds.fqdn.example.com
python -m gitatp --repos-directory $HOME/.local/$USER-gitatp-repos
rm -rf my-repo/ && git clone http://localhost:8080/my-repo.git && cd my-repo
echo 2222 >> README.md && git add README.md && git commit -sm README.md && git push |
Related: publicdomainrelay/reference-implementation@0028a6e Related: publicdomainrelay/reference-implementation#15 Related: publicdomainrelay/reference-implementation#8 Signed-off-by: John Andersen <[email protected]>
Related: publicdomainrelay/reference-implementation#15 Related: publicdomainrelay/reference-implementation#8 Related: intel/dffml#1315 Signed-off-by: John Andersen <[email protected]>
atproto
openssf_metrics.md
: WIP SCITT Use Case: Attestations of alignment to S2C2F and org OverlaysThe text was updated successfully, but these errors were encountered: