Skip to content

Conversation

@TooAngel
Copy link
Contributor

Summary

Add support for the Origin field in REPOSITORIES.md to enable future repository migration automation from "powered by worlddriven" to "worlddriven project" status.

This PR implements the parser foundation and appropriate warnings while the transfer automation logic is still in development.

Changes

Parser Support

  • ✅ Add origin field parsing in scripts/parse-repositories.js
  • ✅ Update type definitions to include origin?: string
  • ✅ Add comprehensive tests for origin field parsing
  • ✅ All tests passing

Drift Detection

  • ✅ Add pendingTransfer category to drift detection
  • ✅ Display clear "not yet implemented" warning when origin field detected
  • ✅ Prevent PRs with origin field from being merged (informational, not error)
  • ✅ List affected repositories in drift report

Sync Automation

  • ✅ Warn when repositories with origin field are encountered
  • ✅ Explain that transfer feature is not yet implemented
  • ✅ Reference GitHub issue for tracking

Documentation

  • ✅ Document Origin field in REPOSITORIES.md properties section
  • ✅ Add "Repository Migration (Coming Soon)" section
  • ✅ Explain planned workflow and distinction between powered-by vs worlddriven-project

Testing

npm test

All tests pass, including new tests for origin field parsing.

Why This PR

This establishes the foundation for repository migration automation while being explicit that the feature is not yet complete. Users who add an Origin field will receive clear warnings that:

  1. The feature is not implemented yet
  2. Their PR cannot be safely merged
  3. They should track issue feat: implement repository transfer automation for migration to worlddriven org #9 for progress

Next Steps

See issue #9 for remaining implementation work:

  • Permission verification
  • Transfer API integration
  • Error handling
  • Complete documentation

Related

Closes: N/A (foundational work)
Related: #9

Add support for Origin field in REPOSITORIES.md to enable future repository
migration automation from 'powered by worlddriven' to 'worlddriven project'.

Parser changes:
- Add origin field parsing in parse-repositories.js
- Update type definitions to include origin?: string
- Add comprehensive tests for origin field

Drift detection:
- Add pendingTransfer category for repos with origin field
- Display clear warning when origin field detected
- Exit code doesn't treat pending transfers as errors

Sync automation:
- Warn when repositories with origin field are found
- List pending transfer repositories
- Explain feature not yet implemented

Documentation:
- Add Origin field to REPOSITORIES.md properties
- Add Repository Migration section explaining planned workflow
- Reference GitHub issue worlddriven#9 for implementation progress

Related: worlddriven#9
@worlddriven
Copy link
Contributor

worlddriven bot commented Nov 15, 2025

🤖 Worlddriven Status

📊 Live Status Dashboard

🗓️ Merge Date: 2025-11-17 at 23:42:03 UTC (today)
📅 Started: 2025-11-15 at 18:22:03 UTC
Speed Factor: 0.22 (78% faster due to reviews)
Positive votes: 7/9 contribution weight (coefficient: 0.78)
📈 Base Merge Time: 10 days → Current: 2 days

🎯 Want to influence when this merges?

Your review matters! As a contributor to this project, your voice helps determine the merge timeline.

How to review:

  1. Check the changes
    Files changed

  2. Leave your review
    Review changes

Your options:

  • ✅ Agree & Speed Up: Approve Approving makes this merge faster
  • ❌ Disagree & Slow Down: Request changes Requesting changes delays the merge

💡 Pro tip: The more contributors who agree, the faster this gets merged!

📊 View detailed stats on the dashboard

📋 Recent Activity

2025-11-17, 23:51:50 - Pull request merged by worlddriven ✅


This comment is automatically updated by worlddriven

@worlddriven worlddriven bot merged commit 712f234 into worlddriven:main Nov 17, 2025
3 checks passed
@TooAngel TooAngel deleted the feat/repository-migration-parser branch November 22, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant