Rename Banch to Main

While working through an user-add issue in Pier, I decided to rename the primary branch from master to main. Personally I don't have strong feelings concerning the name, however if it makes others feel more comfortable contributing to a project that doesn't conjure up master/slave images, then it is worth the effort.

One nice aspect of Pier is that it allows pages to be embedded in other pages, which reduces the number of updates. An example is:

The Pier core version 3.2 can be loaded from GitHub using Metacello:

Metacello new
 baseline:'Pier';
 repository: 'github://Pier-CMS/Pier3:main/repository';
 onConflictUseLoaded;
 load.

The #onConflict... code is due to a Grease version mismatch between Seaside and Magritte.

For the full install with all the addons, it can be loaded with:

Metacello new
 baseline:'Pier';
 repository: 'github://Pier-CMS/Pier3:main/repository';
 onConflictUseLoaded;
 load: 'addons'.

The PierToDo code depends on the add-ons, it can be loaded with:

Metacello new
 baseline:'Pier';
 repository: 'github://Pier-CMS/Pier3:main/repository';
 onConflictUseLoaded;
 load: 'todo'.

Posted by John Borden at 13 May 2021, 3:30 am link