Skip to content
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

Add ATProtocol handle resolution file #587

Merged
merged 1 commit into from
Feb 11, 2025
Merged

Conversation

pitrou
Copy link
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 on lines 26 to +28
include:
- _static
- .well-known
Copy link
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
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
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
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
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
1 check passed
@pitrou pitrou deleted the atproto-did branch February 11, 2025 11:19
@raulcd
Copy link
Member

raulcd commented Feb 11, 2025

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

@pitrou
Copy link
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