OWASP / OWASP/Nest

Migrate non-GitHub fields from `github.User` to `owasp.MemberProfile`

Open
#2,623 5 comments 0 reactions 1 assignee Claimed by @kart-u View on GitHub
enhancement
Dominant language
Python
Stars
451
Forks
707
Avg merge
22h 59m
Merged PRs (30d)
91

Description

**Is your feature request related to a problem? Please describe.**

We originally stored several OWASP-specific fields inside the github.User model, even though they were not GitHub-related. Now that we’ve introduced the owasp.MemberProfile model, we should migrate this data to its proper location.

**Describe the solution you'd like**

The following fields should be moved from github.User → owasp.MemberProfile:

- has_public_member_page
- is_owasp_staff
- contributions_count

Implement a multi-step migration process:

1. **Add new fields to `owasp.MemberProfile` and migrate existing data**

* Ensure all related logic continues to work without interruption.
* Maintain backwards compatibility during the transition.
2. **Remove the old fields from `github.User` in a separate PR** once everything is stable.
* Add or update **tests** to cover:

* Data migration.
* Model behavior.
* Any views, serializers, or business logic relying on these fields.
* Verify that all existing features using these fields continue to work correctly after the migration.

**Are you going to work on implementing this?**

- [ ] Yes
- [x] No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.