|
How much do you trust Github?
|
|
|
|
|
Trust is relative. What am I trusting them with?
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Your reputation for a starter.
It would depend on how your auto update is supposed to work obviously, I also don't know how atomic Github is. Git as such struggles, but that's mostly depends on the users of course.
|
|
|
|
|
All I'm doing is scraping a repo's releases for special "refresh" releases that contain the binaries for the app, doing an http request to fetch the zip, extracting the zip to the bin folder (after the app is closed) and then rerunning the app with the same command args it was started with originally.
I'm not building from source or anything so i'm not sure what you mean.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: I'm not building from source or anything
My fail, that's what I thought.
|
|
|
|
|
Well, it's understandable. I should have been more clear. The reason I thought github might be a good idea for this is for open source projects it already holds things like releases and branches and stuff, so you can point it to a stable set of releases and manage your updates in the same place you manage your source for the apps, which makes sense to me.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
In that case I don't see it as a terrible idea, it's just another storing place.
One of the pros is that you can allow users to select the version to install, in case there are problems with some versions.
|
|
|
|
|
That's a double edged sword. I might make a backdoor for support that allows me to override a version but by default i think i want to make it grab the latest.
The reason being is it will cause more people to harass me if they keep screwing up their versions by installing explicit ones
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Well, you could have a list with allowed version...
But I understand what you mean. It's just that I personally would like to be able to demote some programs to earlier versions. Major versions especially.
|
|
|
|
|
I'll consider it. It's easy enough to do.
Here's the code to choose the update version now (I have a list of all available versions and their associated .zip urls)
sb.Append(_Esc(_VersionUrls[LatestVersion].ToString()));
Ignore the surrounding code, but see the LatestVersion call?
it's not hard to add to this.
The trouble is, there's no UI for choosing the version, and it would be silly to add one.
So i think if they want to choose a different version It won't be autoupdate.
They'll have to force an update with version specified explicitly.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: They'll have to force an update with version specified explicitly.
Fair enough.
But there would need to be a list with versions and an instruction.
|
|
|
|
|
I've got that, and I'll add it the instructions on how to do it to the CP article.
It's a bad idea to make it easier than that, IMO, because it shouldn't be done.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
|
I wouldn't go so far as to call it terrible, but neither is it a good idea, IMO.
In any medium to large project, I try to not to change the tools (compilers, external libraries, etc.), unless a major bug is discovered that prevents the completion of the project. It is my experience that tools are never completely backward-compatible; there is always some new feature that breaks old code. This means that any tool change requires a complete re-test of the entire product.
Note that I do not dispute that in many cases the new features are improvements; I claim that integrating them in the middle of a development stage is a bad idea. At the end of the stage, I would consider upgrading tools that provided significant new functionality / bug fixes, because the new product will anyway have to undergo a full test.
What I might do in your place is to provide a notification that a new update is available, and allow the programmer to decide if to upgrade.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I don't think i was very clear about a crucial aspect of this, which is my bad.
This project (I already built it) draws from "releases"
And the releases it draws are special release you prepare specifically as application "refreshes"
They are of course, built from the code at the github repro, but it only draws from actual releases you make, and even then, only ones you specifically set up as application updates.
so in a sense, it's just using github as a filestore for release executables, but i guess looking at it that way makes it seem almost like theft at least now that i think about it. I wonder if this violates GitHub's ToS in some way? I don't think it does. Hmmm
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
As terrible ideas go, it's a great one.
As great ideas go, it's a terrible one.
As ideas go, it is neither terrible nor great until the responses it receives.
|
|
|
|
|
|
oh that's cool, but i don't really want it as an extra dependency anyway. I like something this small to be contained directly in the app it's intended to update, though reasonable people may decide i'm a clown for embedding it.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
If it's an opt-in that must be enabled by the user, it's a great idea. If not, it's spam at best, malware at worst. Just in case, be sure to remember the previous configuration, and make it easy and obvious to roll back any changes.
Will Rogers never met me.
|
|
|
|
|
I'm guessing there's so many searches for "Windows 10 stuck checking for updates" being submitted to Google that this is why I'm only getting results for that when I search for "Debian 10 stuck checking for updates"...
|
|
|
|
|
Of course... they know better what you want than you
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
If they knew better, then they'd bring back articles showing how to migrate away from Win10 and onto Debian 10.
|
|
|
|
|
|
Behold, Big Data(tm) at work.
That's the scam.
|
|
|
|
|
With the latest build, i feel it's more or less feature complete, with the exception of the transforms which i always knew would be a come as they're needed type thing.
i'm not sure what to do with myself now that i have a deliverable i'm fine with.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|