-
Notifications
You must be signed in to change notification settings - Fork 46
Suggestion for updater #73
Comments
Where's the thread? Setting up branch, etc is no big deal. The problem is the actual install itself. I've thought of doing this before, but hadn't had the time to research it. The problem ends up being the code to unzip/untar, extractions, permissions, etc. I think Wordpress has solved this problem, so someone needs to look at their code and just see the general way they've done it, or just research on ways to unzip/untar in place. If someone wants to code this, I will participate and guide in the process. I can create a new branch for this and merge it into the mainline. Can you code? Do you want to take a crack at it? I will definitely help out, but I don't have the time to dedicate solely to this. |
Sorry, thread is here: http://forum.phpvms.net/topic/7583-suggestion-for-auto-updater/ I can code but I'm not familiar with forking/keeping said fork up to date with master code, etc etc - I tried it the other day and failed epically. I'm looking to make something that does this kind of thing with plugins so either way I'm going to have to figure it out :) |
Are you familiar with git at all? What you can do is this - don't work about branches and stuff, I'll take care of that. Go to the main phpVMS repository, hit Fork up top, it'll create that repository in your account. Then you can clone that, and commit to it. And then, you can do a pull request, and I can pull your code in. Or, I can add you as a committer here, create a new branch and commit against that branch, with "refs #73" (this ticket) in the commit log. Here's what I propose:
|
Yeah I can use git, it's the getting code back up into here I've never done before... I've always been committing straight to repos. I will take a look soon then :) |
If it's cloned from here, it's just
Then a pull request through the UI here. If you're on Windows, you can use the new github windows app too. |
Yeah I use GitHub for Mac. I didn't know whether or not I needed to pull updates down from here though, didn't work out well when I tried... I'll do that though, thanks :) |
From github you mean? You'd pull changes when there are changes, but I'd do it before you start working. I think phpVMS would be set as a parent if you fork it, there's a command to "fast-forward" changes, though it escapes me right now |
Ah ok, did a little googling and followed the instructions more closely than last time. I added this repo as remote upstream to my fork, and then used: Cool, all set up now :P |
Ah great. Just create a new branch called "updater", and then commit that, then push that to me. We can see if that works. |
Branches is effort... i.e. I can't do it from the GitHub for Mac client... can I not leave it on master? D: |
That's fine, I'll merge it on my end then, no worries |
(In case the forum topic was missed)
So I was thinking, seeing as phpVMS is hosted on github, we could get around the whole downloading a zip, uploading, etc etc etc.
How easy would it be to set up a "stable" branch of phpVMS on github, which the updater can pull a zip of and install itself?
(Also if it's not that easy, having a "stable" branch alone would be super handy as the master is not always error-free, and there aren't any historic downloads in the downloads tab on github)
The text was updated successfully, but these errors were encountered: