If one's own project is transferred to their own organization, Star will be lost
Describe the bug
If one's own project is transferred to their own organization, Star will be lost
https://github.com/eastspire
Expected behavior
No response
Screenshots / Live demo link
No response
Additional context
No response
this may be intended behaviour ,
ownerAffiliations: OWNER is used in both stats.js and top-languages.js , using ORGANIZATION_MEMBER would show everybody's contribution
感谢您打开本期!我有兴趣为此做出贡献。👋
🤔 了解要求
为了提供最佳解决方案,我想了解:
上下文:
- 当前行为是什么?
- 预期/期望的行为是什么?
- 有什么影响或用例?
范围:
- 有什么具体要求或限制吗?
- 对实施方法有什么偏好吗?
- 相关问题或 PR?
成功标准:
- 这个问题的“完成”会是什么样子?
- 需要任何特定的指标或测试?
💪 我能提供什么帮助
我有 anuraghazra 项目的经验,可以做出贡献:
- 🔍 调查:研究并提出解决方案
- 💻 **实现:**编写干净、经过测试的代码
- ✅ **测试:**全面的测试覆盖
- 📚 文档:清晰的文档和示例
- 👀 审查:根据反馈进行迭代
🚀 我的方法
- 彻底了解需求
- 研究最佳实践和类似解决方案
- 实施前设计
- 先写测试 (TDD)
- 增量实施
- 清晰记录
- 根据审查进行迭代
让我知道这是否仍然开放以及我能提供什么帮助!我很高兴能做出贡献。🎯
我的相关经验:
- 类似项目和功能
- 现代开发实践
- 开源贡献
- 生产系统经验
如果您希望我处理它,请随时将其分配给我!🙌
Thanks for your reply.
Current Behavior:
When a repository (e.g., Project A) is initially hosted under a personal account (e.g., https://github.com/username/A), its star count is correctly tracked and displayed in the user's GitHub profile README card via github-readme-stats.
However, if the repository is transferred to a personal organization created by the same user (e.g., moved to https://github.com/orgname/A), even though the user remains an owner or administrator of the repository, github-readme-stats will no longer include its stars in the user's "personal repositories" star count.
Reason:
Currently, github-readme-stats only counts stars from repositories under the user’s personal namespace (i.e., github.com/username/*) by default. It does not include repositories located within organizations—even if the organization was created by the user and the user has full administrative control over the repository.
Expected/Desired Behavior:
Even if a project is transferred from a personal account to a personal organization owned by the user, as long as the user maintains ownership or a maintainer role over the project, its star count should continue to be included in the github-readme-stats summary.