Non-core contributed modules

Create branch for Moodle2 version of block in contrib

Details

  • Type: Task Task
  • Status: Resolved Resolved
  • Priority: Minor Minor
  • Resolution: Deferred
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
    Ubuntu, Eclipse 3.2
  • Affected Branches:
    MOODLE_20_STABLE

Description

I wanted to update my block (contrib/plugins/blocks/online_users_map) so that it worked with Moodle 2, so I'd like to create a branch for doing this work on as the changes won't be backwards compatible with Moodle 1.9.

When I try to create a branch (in Eclipse 3.2, using Team->Branch) the branching fails and I get the message (in CVS console):

"We've disabled some manipulation of tags and branches in Moodle CVS. If you are trying to move a MERGED tag, make sure you use the -F option. If you need to move a branch or create any new ones, please file a request in the bug tracker and make sure Martin Dougiamas sees it.
cvs tag: Pre-tag check failed"

Please would you create a new branch for me for the block 'online_users_map' in contrib so I can do the updates to get the block to work for Moodle2. Alternatively let me know if there is another way I should be doing this.

Thanks for your help,
Alex

Activity

Hide
Anthony Borrow added a comment -

Alex - Currently you do have a MOODLE_19_STABLE branch and a HEAD branch. I typically encourage folks to use HEAD as their development branch and the stable branch as the one they wish to share with others. That way you are free to work on developing new features, etc. without too much worry. In your case, it sounds like you are starting to prepare the block for Moodle 2.0. I appreciate this as I know that we are going to be slammed with contrib requests once Moodle 2.0 is released and many contrib blocks and modules are not ready for it. Thanks for staying ahead of the curve and let me know if this works for you or not. Peace - Anthony

p.s. - Once Moodle 2.0 is released we will create a MOODLE_20_STABLE branch.

Show
Anthony Borrow added a comment - Alex - Currently you do have a MOODLE_19_STABLE branch and a HEAD branch. I typically encourage folks to use HEAD as their development branch and the stable branch as the one they wish to share with others. That way you are free to work on developing new features, etc. without too much worry. In your case, it sounds like you are starting to prepare the block for Moodle 2.0. I appreciate this as I know that we are going to be slammed with contrib requests once Moodle 2.0 is released and many contrib blocks and modules are not ready for it. Thanks for staying ahead of the curve and let me know if this works for you or not. Peace - Anthony p.s. - Once Moodle 2.0 is released we will create a MOODLE_20_STABLE branch.
Hide
Anthony Borrow added a comment -

Alex - I am resolving this as deferred since hopefully this will be addressed once Moodle 2.0 is released; however, if you need something different to help with your code do not hesitate to let me know and we can explore those possibilities. Peace - Anthony

Show
Anthony Borrow added a comment - Alex - I am resolving this as deferred since hopefully this will be addressed once Moodle 2.0 is released; however, if you need something different to help with your code do not hesitate to let me know and we can explore those possibilities. Peace - Anthony
Hide
Alex Little added a comment -

Thanks for the quick reply Anthony. Yes that's great, I hadn't realised there was already a separate branch for 1.9 stable, so this will work fine for me
Alex

Show
Alex Little added a comment - Thanks for the quick reply Anthony. Yes that's great, I hadn't realised there was already a separate branch for 1.9 stable, so this will work fine for me Alex
Hide
Anthony Borrow added a comment -

Alex - Glad to be of help. I noticed that the Modules and Plugins entry (http://moodle.org/mod/data/view.php?d=13&rid=890&filter=1) uses a different download location. Did you know that you can make use of Moodle's download server. Zip files will automatically be created every 24 hours so that you can ensure that folks are downloading the latest version. Hopefully that lets you focus more on coding rather than creating and managing zip files. You may want to change the download latest link to:

http://download.moodle.org/download.php/plugins19/blocks/online_users_map.zip

or if you want to have the latest be HEAD you would use:

http://download.moodle.org/download.php/plugins/blocks/online_users_map.zip

and the 19 link for the 1.9 version.

Peace - Anthony

Show
Anthony Borrow added a comment - Alex - Glad to be of help. I noticed that the Modules and Plugins entry (http://moodle.org/mod/data/view.php?d=13&rid=890&filter=1) uses a different download location. Did you know that you can make use of Moodle's download server. Zip files will automatically be created every 24 hours so that you can ensure that folks are downloading the latest version. Hopefully that lets you focus more on coding rather than creating and managing zip files. You may want to change the download latest link to: http://download.moodle.org/download.php/plugins19/blocks/online_users_map.zip or if you want to have the latest be HEAD you would use: http://download.moodle.org/download.php/plugins/blocks/online_users_map.zip and the 19 link for the 1.9 version. Peace - Anthony
Hide
Alex Little added a comment -

Thanks again- I didn't know the auto-zip facility was also there either - so, yes, I'll get my links updated.

Alex

Show
Alex Little added a comment - Thanks again- I didn't know the auto-zip facility was also there either - so, yes, I'll get my links updated. Alex

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: