Skip to content

Add ATProtocol handle resolution file#587

Merged
pitrou merged 1 commit intoapache:mainfrom
pitrou:atproto-did
Feb 11, 2025
Merged

Add ATProtocol handle resolution file#587
pitrou merged 1 commit intoapache:mainfrom
pitrou:atproto-did

Conversation

@pitrou
Copy link
Copy Markdown
Member

@pitrou pitrou commented Feb 11, 2025

This should allow our BlueSky account to use the handle "@arrow.apache.org".

This should allow our BlueSky account to use the handle "@arrow.apache.org".
@pitrou pitrou requested review from kou and nealrichardson February 11, 2025 08:52
Comment thread _config.yml
Comment on lines 26 to +28
include:
- _static
- .well-known
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest I am not sure what this include does but I think we should just copy the file on the deploy step:

cp -a .asf.yaml ../build/
cp -a .htaccess ../build/

From the comments on this PR, I think this is where we copy it:
#506

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The addition ensures that the .well-known directory and its contents is included in the generated site.
Is there a reason to prefer a shell cp command? I find it cleaner to rely as much as possible on configuration, rather than dedicated shell commands. Also, using _config.yml I could actually test my changes locally.

@kou What do you think?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this has been tested and works, I agree, this sounds like a better solution than manually cp files. We probably want to have a single way of doing this for the other files we are copying.
Thanks for finding out!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, we should use include instead of raw cp for them too.
Sorry, I didn't notice this approach when I did it.

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Feb 11, 2025

Ok, let's merge and check that this did work as expected!

@pitrou pitrou merged commit 742e665 into apache:main Feb 11, 2025
@pitrou pitrou deleted the atproto-did branch February 11, 2025 11:19
@raulcd
Copy link
Copy Markdown
Member

raulcd commented Feb 11, 2025

This seems to work now:
https://bsky.app/profile/arrow.apache.org

@pitrou
Copy link
Copy Markdown
Member Author

pitrou commented Feb 11, 2025

One button still needed to be pressed, but now the handle is updated as well :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants