rohd icon indicating copy to clipboard operation
rohd copied to clipboard

chore(devtool): build devtool artifact and commit to other branch

Open quekyj opened this issue 1 year ago • 3 comments

Description & Motivation

To test out the unreleased version of the devtool_extension, we can allow github action to commit the build artifact and modified the .gitignore. So, user can point to this package in pubspec.yaml via the use of:


rohd:
     git:
       url: https://github.com/quekyj/rohd.git
       ref: artifacts

Branch that have the artifact:

  • artifacts

Testing

Tested on fork.

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

no

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

No.

quekyj avatar Feb 09 '24 07:02 quekyj

Were you able to get the extension running by pointing at the artifacts branch?

I tried adding this into a pubspec.yaml (not in the rohd package itself):

dependency_overrides:
  rohd:
    git:
      url: https://github.com/quekyj/rohd.git
      ref: artifacts

It looks like all the build artifacts are there in the downloaded dependency, but I don't see it showing up in the devtools?

mkorbel1 avatar Feb 09 '24 16:02 mkorbel1

Were you able to get the extension running by pointing at the artifacts branch?

I tried adding this into a pubspec.yaml (not in the rohd package itself):

dependency_overrides:
  rohd:
    git:
      url: https://github.com/quekyj/rohd.git
      ref: artifacts

It looks like all the build artifacts are there in the downloaded dependency, but I don't see it showing up in the devtools?

Yes, I can get it working. Are you using the beta version of flutter?

quekyj avatar Feb 14 '24 03:02 quekyj

Yes, I can get it working. Are you using the beta version of flutter?

Really? I tried in WSL using latest Dart version: Dart SDK version: 3.3.0 (stable) (None) on "linux_x64"

I don't see it showing up

mkorbel1 avatar Feb 15 '24 17:02 mkorbel1