You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/01/29 05:39:35 UTC

[GitHub] sijie commented on issue #1068: copy the distributedlog modules to bookkeeper repo

sijie commented on issue #1068: copy the distributedlog modules to bookkeeper repo
URL: https://github.com/apache/bookkeeper/issues/1068#issuecomment-361145207
 
 
   The steps to move the modules:
   
   for each module in `distributedlog-common distributedlog-protocol distributedlog-core distributedlog-io`, do following steps:
   
   ```
   1. git clone https://github.com/apache/distributedlog distributedlog_merge
   2. cd distributedlog_merge
   3. git checkout master
   4. git remote rm origin
   5. git filter-branch --subdirectory-filter <module-name> -- --all
   6. mkdir -p stream/distributedlog/<module-name>
   7. git mv -k * stream/distributedlog/<module-name>
   8. git commit
   9. cd ../bookkeeper # `../bookkeeper` is the directory of bookkeeper repo
   10. git checkout -b <merge_branch>
   11. git remote add origin-tmp-repo `pwd`/../distributedlog_merge # `pwd`/../dstributedlog_merge is the directory of distributedlog temp repo
   12. git pull origin-tmp-repo <merge_branch>
   13. rm -rf `pwd`/../distributedlog_merge
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services