far_right cli command
This commit is contained in:
parent
4c9cbc3413
commit
c72bc7a2f0
|
@ -87,4 +87,5 @@ def get_far_right_artists():
|
|||
|
||||
artists.append(artist)
|
||||
|
||||
logger.info(f"Found {len(artists)} far right artists : {[a.name for a in artists]}")
|
||||
return artists
|
||||
|
|
|
@ -19,7 +19,7 @@ To find a common consensus/definition of far right ideology we will use wikidata
|
|||
### Backend
|
||||
|
||||
- [x] a celery tasks that add far_right artists to the db, or update existing artist with the far_right attribute if the name matches. Launched every month.
|
||||
- [ ] a cli tool to display the list of right wing artists that display the name, the mbid and the wikidata ref. Prompt a warning if mbid is missing so admins can add a mbid
|
||||
- [x] a cli tool to display the list of right wing artists that display the name, the mbid and the wikidata ref. Prompt a warning if mbid is missing so admins can add a mbid `docker compose run --rm api funkwhale-manage wikidata_far_right`
|
||||
- [x] A new artist attribute `far_right` displaying the wikidata id
|
||||
- [ ] Display an explicit api error response that explain why the artist in banned (link the funkwhale code of conduct and the artist wikidata id):
|
||||
- [x] on the import process : display an explicit error during import
|
||||
|
|
Loading…
Reference in New Issue