Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Mar 01 22:50
    rdnobrega opened #280
  • Mar 01 22:50
    rdnobrega opened #280
  • Jan 28 22:42
    kevinelliott commented #279
  • Jan 28 22:42
    kevinelliott commented #279
  • Jan 28 22:42
    kevinelliott commented #279
  • Jan 28 22:42
    kevinelliott commented #279
  • Jan 28 22:42
    kevinelliott commented #279
  • Jan 28 22:42
    kevinelliott commented #279
  • Jan 28 22:41
    kevinelliott commented #279
  • Jan 28 22:41
    kevinelliott commented #279
  • Jan 28 22:41
    kevinelliott opened #279
  • Jan 28 22:41
    kevinelliott opened #279
  • Oct 18 2020 22:09
    edalvb edited #278
  • Oct 18 2020 22:09
    edalvb edited #278
  • Oct 18 2020 22:08
    edalvb edited #278
  • Oct 18 2020 22:08
    edalvb edited #278
  • Oct 18 2020 22:07
    edalvb opened #278
  • Oct 18 2020 22:07
    edalvb opened #278
  • Sep 16 2020 16:23
    insinfo commented #277
  • Sep 16 2020 16:23
    insinfo commented #277
Randal L. Schwartz
@RandalSchwartz
No, anything can be non-null-safe.
Kevin Elliott
@kevinelliott
Thought the whole point was that the transition plan is in place so you can upgrade the SDK but still run the old code.
Randal L. Schwartz
@RandalSchwartz
it just means it falls back to detecting nulls at runtime
a pubspec rules a collection of files. as a whole, they all have to be safe or unsafe
but the things pulled in as deps can each be safe or unsafe
Kevin Elliott
@kevinelliott
Sure, so, what's the solution here? Roll back to 2.11.0 SDK?
Randal L. Schwartz
@RandalSchwartz
it all works
Kevin Elliott
@kevinelliott
Rather -- more specifically -- do you think we can still run on 2.12.0 SDK but get this to work as is without bringing it up to speed with NNBD just yet?
I wonder if there's an override.
Randal L. Schwartz
@RandalSchwartz
yes, just leave the pubspec as marking it old.
lower bound of 2.11 or lower
Kevin Elliott
@kevinelliott
The dep error I'm getting seems to suggest that I can't run on 2.12.0 SDK
Randal L. Schwartz
@RandalSchwartz
use dart pub outdated — somoething
watch the video for the command.
actually, yeah, just watch the video. :)
Kevin Elliott
@kevinelliott
Right, but that's for updating to 2.12.0 NNBD support.
I am just trying to keep things as is (I don't think I have the time to walk 16 modules right now and update them all, and update their deps, etc). But I have 2.12.0 SDK installed on my system.
Randal L. Schwartz
@RandalSchwartz
well, you can at least see if there some things that can be updated
and yes, those should compile just fine
you just won’t get NNBD treatment… it’ll be like the old times.
Kevin Elliott
@kevinelliott
Yeah, I'd be fine with that for the moment (and can contribute more later), but it's not letting me.
I started to set lower boundaries but it's opening a rats nest :)
Haha!
Because every version of angel_orm_generator from git depends on angel_orm from hosted and airframes_aggregation_server depends on angel_orm from git, angel_orm_generator from git is forbidden.
So, because airframes_aggregation_server depends on angel_orm_generator from git, version solving failed.
Yeah, totally a chain of issues erupting.
Kevin Elliott
@kevinelliott
I'm definitely better off just uninstalling 2.12.0 SDK and installing 2.11.0 for the time being.
Bummer.
Randal L. Schwartz
@RandalSchwartz
you should just be able to lower your pubspec value
it will act in pre 2.12 mode if the pubspec says so
no need to change the sdk
Randal L. Schwartz
@RandalSchwartz
Migrating incrementally
Because Dart supports mixed-version programs, you can migrate one library (generally one Dart file) at a time, while still being able to run your program and its tests.
I don’t know if that would break the interpretation of new features thoough
I guess I could always try it and see. :)
Randal L. Schwartz
@RandalSchwartz
Kevin Elliott
@kevinelliott
Interesting
It doesn't say if it honors that for pub get too.
Randal L. Schwartz
@RandalSchwartz
yeah, I need to consult the Smarter People Than Me® on this.
Kevin Elliott
@kevinelliott
SPTM!
I rolled back to SDK 2.10.4 for the time being, just so I can keep moving forward on my project. But, I'll see about trying to push on this more later.
Randal L. Schwartz
@RandalSchwartz
champions for the underdog!
Kevin Elliott
@kevinelliott
Haha!
Kevin Elliott
@kevinelliott
Do you know of a way to allow a dep to allow git for the other dep?
Right now getting that annoying complaint that one requires git but the other requires host
Because every version of angel_orm_postgres from git depends on angel_orm from path and airframes_aggregation_server depends on angel_orm from git, angel_orm_postgres from git is forbidden.
So, because airframes_aggregation_server depends on angel_orm_postgres from git, version solving failed.
Thomas Hii
@dukefirehawk
@kevinelliott my fork basically locks the existing code to SDK below 2.12.0 and changed all the dependencies to local so that I can upgrade the libraries, figuring out the inter relationship between the modules and fixing failed test cases. With 2.12.0 release, can now change the SDK module by module to see if anything breaks and fix them along the way
@kevinelliott this will take some time to get through, as there are quite a few external libraries involved
Tobe Osakwe
@thosakwe

Sorry for the lack of messages from me recently. This weekend, I want to start taking care of outstanding issues (and to start working on getting Thomas's fork pulled into the main repo).

Ideally, all packages can be updated to support the recent versions of the Dart SDK, as well as null-safety. I will also get to work on updating the documentation.

Before I start working at my new job, I want to make sure that existing apps will at least continue to work, and get ready to either transfer ownership to a new person, or close things down if nobody specifically wants to take it over

In my personal opinion, it may be best for Angel to gracefully close down, and instead, most Dart-on-the-server mindshare can focus on shelf and Aqueduct