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

followed hashtags not included in follows export/import #21091

Open
timtoo opened this issue Nov 19, 2022 · 3 comments
Open

followed hashtags not included in follows export/import #21091

timtoo opened this issue Nov 19, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@timtoo
Copy link

timtoo commented Nov 19, 2022

Steps to reproduce the problem

  1. export "follows" using csv download on the setting page
  2. import the following_accounts.csv into other account

Expected behaviour

The hashtags I follow should be exported with the rest of followed things

Actual behaviour

The followed hashtags do not appear in the csv file

Detailed description

Migrating to a new instance, I downloaded my follows (following_accounts.csv) and imported them to the new account as instructed. The accounts I follow of course were fine, but I was surprised to find the hashtags I follow had disappeared.

I understand following hashtags is a very new feature. Perhaps the export/import aspect has been overlooked.

Specifications

Mastodon v4.0.2

@timtoo timtoo added the bug Something isn't working label Nov 19, 2022
@connorshea
Copy link
Contributor

The importer code will also need to be updated to support this.

For reference, hashtag following was implemented in #18809.

I think one major problem is that you'll need to export the raw text names of the hashtags, rather than their tag IDs. Which is fine, but if a smaller instance has never seen a given hashtag before, it'll need to create it as part of the import. I think that's fine, just a bit of a weird implementation quirk that'll need to be considered.

@FrancisMurillo
Copy link
Contributor

Would like to try my hand with this. Would it be better to have another row for following_tags instead of merging follows and tags in one CSV?

@Marty-Crabneck
Copy link

Would like to try my hand with this. Would it be better to have another row for following_tags instead of merging follows and tags in one CSV?

I'd throw them into the "Follows"-CSV. And while you're at it, perhaps you'd also like to implement this: #20802 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants