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

Keywords cleanup #1825

Closed
zzgvh opened this issue Sep 29, 2015 · 1 comment
Closed

Keywords cleanup #1825

zzgvh opened this issue Sep 29, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@zzgvh
Copy link
Contributor

zzgvh commented Sep 29, 2015

Test plan

  1. Run the script as a standard Django managent command: manage.py merge_keywords
  2. The keywords should be merged (as mentioned in the file @lauraroverts provided)

Issue description

Going forward the project keywords are to be used to gather the projects shown on an Akvo Site. This replaces the use of sponsor partners for this type of grouping.

As a step in the removal of sponsor partners, all projects associated with a sponsor partner was given a keyword constructed from the ID and the name of the partner organisation. This ensured that no projects were left out, but also has lead to a number of projects, that were already tagged, e.g. with a consortium keyword, to acquire duplicate keywords.

To fix this we need a data migration that merges duplicate keywords. There are also a number of keywords that aren't used any more. Those should be removed. Finally there are some special cases where a number of Walking for Water keywords should be merged. @lauraroverts has made a list of changes that need to be made (its extension is .txt to allow uploading, and it's semicolon separated).

@KasperBrandt KasperBrandt modified the milestone: 3.7 Khartoum Sep 30, 2015
zzgvh added a commit that referenced this issue Oct 5, 2015
This management command merges and removes a number of keywords, most
associated with the Walking for Water projects.
KasperBrandt added a commit that referenced this issue Oct 5, 2015
[#1825] Management command removing duplicate keywords
@zzgvh
Copy link
Contributor Author

zzgvh commented Oct 5, 2015

I've seen there are a couple of keywords with an ID prepended still, after the merge. Those can be removed in the admin, after making sure all projects with such a keyword has at least one other keyword.

@MichaelAkvo MichaelAkvo moved this to Done in RSR Dec 8, 2022
@MichaelAkvo MichaelAkvo added this to RSR Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants