Loading...
 

Snapshots from trunk

Status: brainstorming phase. We could start after 26.1 or 26.2

The Tiki community has a well established lifecycle. It is, overall, the best lifecycle for our context and resources.

However, even the best option has tradeoffs:

  • The Tiki 8 months release cycle can lead to a long time for a feedback loop. By the time a non-backported commit is used in production, the developer is very likely working on something else
  • In an ideal world, trunk/master would be releasable at any time. In practice, this is not possible and in certain cases, this would be counter-productive. Sometimes, you just need to "burn the boats" and merge a risky / disruptive merge request in trunk/master and "we'll deal with the issues if/when they arise". Thus, running a site from a daily update from trunk/master is always going to be a bumpy ride.

Proposal

  • Have periodical snapshots from trunk/master that are known to be stable enough to dogfood.
  • These snapshots will have additional tests that are too slow for the CI (that runs at each commit)

Naming convention

Some options:

  • Tiki27 Alpha1, Tiki27 Alpha2, etc. in which case the 1st release after we branch is Beta1 Not good because alpha gives the feeling it will get more and more stable, since Beta is next)
  • Tiki27 snapshot1, Tiki27 snapshot2, etc.
  • Tiki27 snapshot2023-09-12, Tiki27 snapshot2023-09-20, etc.
  • Other ideas?

Where to use

These are not destined for end users for production sites, but rather for projects where members are actively participating to the Tiki community. They can also be suitable for testing new features not yet available in a stable branch.

  • It would be combined with Using GlitchTip as part of the Tiki development process
  • Dogfood for certain community sites such as https://themes.tiki.org and https://dev.tiki.org (But we'll keep tiki.org and https://doc.tiki.org on latest stable and profiles.tiki.org on latest LTS so we dogfood a diversity of branches
  • We should add a specific chatroom to report issues with these sites (Dear visitor, these sites are using snapshot code from trunk, please click here to chat with a developer and report any issue)
  • Client projects that are to be launched in a few months, and we'd like to use the latest code base.

Mechanics

  • This would be a Git tag

When to tag

  • When trunk/master is stable and there are no known major issues or risky work
  • Before any major or risky work. Ex.: increasing requirements from PHP 7.4 to 8.1

When not to tag

  • Just after a database schema change (because it makes it tricky / risky to revert)

Tagging frequency

  • Every 7-10 days?
  • Every 25-30 day?


The frequency may be quite different for a post-LTS release like Tiki25 with a lot of innovation va Tiki27 which is more a refinement release.

  • Tiki Manager
    • Add a way to upgrade/downgrade to a specific tag
    • Add a way to automatically update sites to latest snapshot tags

What happens if a major issue happens in an snapshot?

  • Statistically, this will happen.
  • Given the regression was introduced recently, it will be easy to figure out which commit caused it and alert the developer
  • Normally, it should be fixed quickly and a new tag issued.
  • Users can wait for this update, or revert to previous tag if

Warnings for anyone using these

  • These are not stable versions and there will be bugs, including a risk of data loss
  • This is a test project, and there is no commitment for the frequency
  • You should be using from Git so you can easily update later to a stable branch
  • Security patches should be included promptly (because security patches go to trunk before being backported to the stable branches). However, it could happen that some security patches are in a stable release but not yet in an snapshot release.

Benefits

  • It becomes easier for testing and documenting new features sooner
  • It is easier to check if a bug is already fixed in trunk/master
  • It will keep trunk/master more stable without preventing the occasional and necessary upheaval (during which we will pause on generating new snapshots)
  • It will perhaps increase the number of community members involved in the dev process in trunk/master (some that now focus pretty much all their energies in stable branches)
  • It is not expected be a lot of work (we'll need to evaluate ROI after trying for a while)
  • Useful snapshots for our upcoming end to end testing process
  • Code added to trunk can have more testing before it is backported to a stable branch.

Questions

  • Should we go beyond just a tag and test/dogfood automated build system so that releases are fully automatic and a release just becomes deciding which snapshot becomes an official release
    • While more automation is a good thing, I don't think it's wise to use archives (.zip) to distribute this type of software. Folks should be using Git, ideally via Tiki Manager. {}

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Kanban
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Federated Timesheets
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools