alex-ds13

Results 34 comments of alex-ds13
trafficstars

> I do think your proposed method would definitely improve developer experience. Actually, I really like the explicit separation: > > ```rust > button("Login") > .disable_if(password.is_empty()) > .on_press(Message::Login) > ```...

> > We can introduce a private helper method to get the `on_press` value while taking `disabled` into account. > > ```rust > fn message(&self) -> Option { > (!self.disabled)...

> I think it's as simple as making `disabled_if` set `on_press` to `None` and the `is_disabled` flag to `true`, then ignore any future `on_press` calls if `is_disabled` is set. That...

> > I also think the name should be `.disable_if` and not `.disabled_if` since it better shows the intent of what you're doing. > > Hahaha, I have difficulty expressing...

> Yes indeed, sorry for that but the choco package no longer passes the automated validation and I do not understand the error, I have no time to investigate deeply...

I assume the `.txt` extension was just for inserting it on github?! I've managed to upgrade to 1.63 just fine with that nupkg (after removing the `.txt` extension). Funny thing...

> Also when the package is just uploaded to choco and not yet validated you can still force the update with the --version parameter. Wwhen I did that it was...

Also I noticed now that both your tries were on the same day. Maybe there was something weird with chocolatey's backend that day and if you try again it might...

One last thing, since all the sources I've looked through use it this way could you try specifying the source like this? `choco push altsnap.1.XX.nupkg --source="'https://push.chocolatey.org/'"` Notice the `--source="''"` with...

@RamonUnch Did you try the above `--source` with double quotes this time? It appears to have failed again...