EstebanLM wrote
with this script (from squeaksource to github):
For a Smalltalk solution, I've wrapped and tweaked the original MC script that was floating around on the lists. It needs a cleanup and won't work on Windows because I used NBMacShell, but could easily be cleaned up if others find it helpful. In Pharo 4.0 (may work in 5.0): Metacello new repository: 'github://seandenigris/MonticelloProjectMigrate/repository'; baseline: 'McProjectMigrate'; load. See the class comment for a usage example: | source destination files | source := MCHttpRepository allSubInstances detect: [ :e | e location includesSubstring: 'Playground' ]. destination := MCHttpRepository allSubInstances detect: [ :e | e location includesSubstring: 'Engelbart' ]. files := source allVersionNames select: [ :e | e includesSubstring: 'Chord' ]. McProjectMigrate new source: source; destination: destination; versionFilenames: files; execute. For git, just specify a filetree repo as the destination, and you'll want to replace the final send of #execute with #executeBitbucket (nothing BitBucket-specific; as I said it needs a cleanup!). N.B. The only part that is not handled is filtering existing versions. I wasn't sure how to compare mcz versions with their git counterparts, so it pushes them all by default. ----- Cheers, Sean -- View this message in context: http://forum.world.st/Publish-to-Monticello-and-mirror-to-git-tp4846989p4847... Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.