If you like backend-type Python work, this is a good first bug to look at.
People's "tags" are the self-labeled text people add to themselves, like at
https://openhatch.org/people/paulproteus/ the "can pitch in with" text.
We store these attached to a Person using the Link_Person_Tag model and the Tag
and TagType model. You can find those in mysite/profile/models.py.
We create data snapshots -- see
https://openhatch.org/wiki/Importing_a_data_snapshot for more information about
them. These nightly shapshots are helpful for developers to work on the
OpenHatch code.
The problem is that the snapshots don't include these "Tag" objects, nor the
"Link_Person_Tag" objects that tie the tags to a person. These tags are public
information
mysite/customs/management/commands/snapshot_public_data.py is where the code
lives that does the snapshotting.
The point of this bug is so that the snapshot that we generate, with
snapshot_public_data, includes all instances of Link_Person_Tag, and any Tag
objects that requires.
Long description -- but it's actually reasonably easy. When you submit it, you
should submit it with an automated test that verifies it works -- see "class
DataExport" in mysite/customs/tests.py to see how to write one.
As always, we are available to help you work on this! Join us on #openhatch or
just ask on this ticket.
|