/** @todo: Handle dev releases (compare to branch) */

Trying to resolve this todo

Comments

joelpittet created an issue. See original summary.

joelpittet’s picture

Status: Active » Needs review
StatusFileSize
new1.28 KB
webflo’s picture

Hi, sorry i did not see you patch. This needs a reroll/rewrite after the move to gitlab. I fixed the current code over in #3048140: Update diff URLs to git.drupalcode.org

webflo’s picture

Status: Needs review » Fixed
webflo’s picture

Status: Fixed » Needs work
joelpittet’s picture

Status: Needs work » Needs review
StatusFileSize
new1.38 KB

@webflo Here's a reroll, it was kinda doing what I intended before.

webflo’s picture

+++ b/composer_deploy.module
@@ -64,11 +64,17 @@ function composer_deploy_preprocess_update_project_status(&$variables) {
+      $currentVersion = 'refs/tags/' . $variables['project']['existing_version'];

Is the ref/tags syntax supported on gitlab?

joelpittet’s picture

StatusFileSize
new1.58 KB

@webfl, Gitlab is a bit finicky but you're right it doesn't have that refs/tags bit. Here's a patch that is better and easier to read and a bit more tested.

  • joelpittet committed 72b6222 on 8.x-1.x
    Issue #2994161 by joelpittet, webflo: Fix diff link for dev versions
    
joelpittet’s picture

Status: Needs review » Fixed

I've committed this, it's a bit better than what we had and we can always revert or improve if need be.

Just getting a release out for composer 2.0 sake

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.