Problem/Motivation

Add tugboat support for easier manual review and testing in issues

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork ban-3578788

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

anybody created an issue. See original summary.

grevil’s picture

Assigned: anybody » Unassigned
Status: Active » Reviewed & tested by the community

LGTM!

grevil’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • grevil committed 1c062dc6 on 1.1.x authored by anybody
    feat: #3578788 Add tugboat support for easier manual review and testing...

  • anybody committed 0c54f900 on 1.1.x
    feat: #3578788 Add tugboat support for easier manual review and testing...

anybody changed the visibility of the branch 1.1.x to hidden.

anybody’s picture

Status: Fixed » Needs work

I was wondering why tugboat preview doesn't work as expected in #3427545: Allow bulk unbanning / removal and clearing ip addresses (Flush all) and doesn't seem to use the branch from the MR.

I guess the reason is, that the ban module doesn't have a composer.json yet?

See the related comments: https://www.drupal.org/node/3181987/discuss#comment-16507860

q0rban’s picture

I guess the reason is, that the ban module doesn't have a composer.json yet?

That would definitely do it, Julian! Without it, when Composer tries to read from the repo checkout, it can't find the composer.json, so then it falls back to using Packagist to pull from.

anybody’s picture

Title: Add tugboat support for easier manual review and testing in issues » Add composer.json & tugboat support for easier manual review and testing in issues

Thank you so much for the quick reply @q0rban - sorry for coming to that conclusion late, because all other projects where I included Tugboat had a composer.json (or it failed).

grevil changed the visibility of the branch 3578788-add-tugboat-support to hidden.

grevil’s picture

Status: Needs work » Needs review

Done, please review!

anybody’s picture

Assigned: Unassigned » mstrelan

Thanks @grevil! LGTM, but I'd like to wait for feedback from @mstrelan, especially because of #3578766: Ban 1.0 conflicts with composer requires for Drupal 10 and because I'm not totally sure which effects this will have for previous ban in core users.

I left a comment on the MR, maybe the requirement even helps with https://www.drupal.org/project/ban/issues/3578766#comment-16508815 - what would you prefer @mstrelan?

Without a composer.json tugboat in issues won't work as expected, see above. Still tugboat is absolutely optional, but helpful here.

anybody’s picture

Thinking about this again, I'd vote to remove the core requirement. I think this is the wrong direction. But let's wait for @mstrelan's final feedback.

mstrelan’s picture

I'm not familiar with tugboat other than I get annoyed by the email notifications about tugboat builds on my MRs and think about all the resources used to build a preview that doesn't get used. It's probably helpful to some people, ideally would be a manual button to build it. Anyway I'm in favour of the composer.json, just a couple comments on the MR.

q0rban’s picture

Thanks for the feedback on the Tugboat integration!

I get annoyed by the email notifications about tugboat builds on my MRs

Hmm, I believe those are turned off. What project are you seeing them on?

think about all the resources used to build a preview…

If it makes you feel any better, Tugboat is very efficient at resource management. The containers are stopped until someone makes a request to them.

…that doesn't get used

Keep in mind, the Tugboat Previews are there for anyone to be able to access, non-technical folks included. This means that folks that are interested in trying something out are clicking on the Preview without you knowing it.

ideally would be a manual button to build it.

While this functionality is built-in to Tugboat itself, it's not possible with the current d.o integration. We're working on fixing that, though, but as you might imagine, these things take time because there are a lot of moving parts.

mstrelan’s picture

Mostly core, it looks like I haven't received one since some time last year, but Gmail groups them with other MR comments so they still appear in my inbox. Searching for "tugboat.qa" shows 203 threads. Sounds like that's no longer an issue though.

grevil’s picture

Assigned: mstrelan » Unassigned

That should be it!

anybody’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for the great feedback @q0rban! Tugboat is wonderful and of course I agree with the points made by @mstrelan. Super nice to get some direct feedback here.

Thanks for the fixes @grevil! RTBC!

anybody’s picture

Status: Reviewed & tested by the community » Fixed

Merged, thank you all! :)

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

  • anybody committed 84ec4274 on 1.1.x authored by grevil
    Related to Issue #3578788: Add missing composer.json
    

Status: Fixed » Closed (fixed)

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