• Overview
    Key features
    • Observability
    • Auto-scaling
    • Multiframework
    • Security
    Frameworks
    • Django
    • Next.js
    • Drupal
    • WordPress
    • Symfony
    • Magento
    • See all frameworks
    Languages
    • PHP
    • Python
    • Node.js
    • Ruby
    • Java
    • Go
  • Industries
    • Consumer Goods
    • Media/Entertainment
    • Higher Education
    • Government
    • Ecommerce
  • Pricing
  • Featured articles
    • Switching to Platform.sh can help IT/DevOps organizations drive 219% ROI
    • Organizations, the ultimate way to manage your users and projects
  • Support
  • Docs
  • Login
  • Request a demo
  • Free Trial
Meet Upsun. The new, self-service, fully managed PaaS, powered by Platform.sh.Try it now
Blog

GitFlow is now supported on Platform.sh!

console
24 August, 2016
Florian Margaine
Florian Margaine
VP Engineering

We have just deployed an important update on our infrastructure, with many bug fixes and new features.

Notably, some long-wanted features, like support for GitFlow’s branch names.

This update is already available for new projects, and existing projects will get it in the coming weeks.

Some notable bug fixes and new features:

  • More lax restrictions for service names (the key in the  .platform/services.yaml ), dashes and underscores are allowed.
  • Show a warning when the cron is  * * * * *  explaining that the minimum is still 5 minutes.
  • Allow a branch named  HEAD  to exist.
  • Display user information when connecting via SSH to your environment.
  • Restrict deletion of branch having an active child.

The most notable new feature is the removal of restrictions for naming Git branches.

Given that we give a URL for every Git branch, we needed to make sure that the branch name could be translated into a host name.

With this constraint, one of the restrictions was that you couldn’t put slashes ( / ) in branch names. GitFlow uses slashes in its default settings, so the default setup was broken. Although in practice, you could switch to  -- , it was still more painful than needed.

It is now possible!

We have introduced a change in generating the URL format: a random string is added to the URL. This allows us to strip out the invalid characters for URLs and still keep any other configuration unaffected.

For example on a project with an id hvnz6xzcxx7qm with a branch name  beta/sprint1 , the URL would be something like  https://hvnz6xzcxx7qm-beta-sprint1-dkrofi.eu.platform.sh  with the random string  dkrofi  added to the url.

Currently, this update only applies to new projects and new environments. We will deploy this change for all existing projects very soon.

This restriction lift means that other things like capitalization are also properly handled – most of what Git supports, we support it too!

Note that you need to upgrade your Platform.sh CLI to the latest version (3.4.0) by running  platform up  in your terminal.

Enjoy the new update and hack away!

Get the latest Platform.sh news and resources
Subscribe

Related Content

Simple. Streamlined. Secure. Effortless user management has arrived with Teams

Simple. Streamlined. Secure. Effortless user management has arrived with Teams

Company
AboutSecurity and complianceTrust CenterCareersPressContact us
Thank you for subscribing!
  •  
Field required
Leader Winter 2023
System StatusPrivacyTerms of ServiceImpressumWCAG ComplianceAcceptable Use PolicyManage your cookie preferencesReport a security issue
© 2024 Platform.sh. All rights reserved.
Supported by Horizon 2020's SME Instrument - European Commission 🇪🇺