ryan

PW 3.0.105 – Core updates

Recommended Posts

On 6/2/2018 at 7:37 AM, ryan said:

This latest version on the dev branch adds a new site profile to the core

Hi Ryan,

With the addition of the new profile, in terms of file size nearly 60% of the core is now made up of site profiles. For new users these profiles are no doubt very handy, but I think for a lot of existing users the profiles (apart from "blank") are not needed.

Speaking for myself I don't have a need for the bundled profiles and so delete them each time after downloading a new version from GitHub. Doing that isn't a big deal, but it would be nice to keep things as lean as possible for users who don't need the profiles. And I'm not sure but are the profiles downloaded and discarded each time PW is upgraded via admin? 

What do you think about starting to make use of the Releases feature of GitHub? Each time when a new version is ready there could be a new release created, containing two zips: "processwire" and "processwire-no-profiles", or whatever naming scheme you think best.

Using releases would have some other benefits too. For dev branch users it would be easier to know exactly what version of PW you are running, as opposed to the current scenario where changes to the latest version get pushed out over the week so someone who installs 3.0.105 on Saturday may have different files to someone who installs 3.0.105 on Thursday. When someone raises a problem in the forum they could say exactly what version they are running (could be an older release) and people who want to help could more easily download that exact release to try and replicate the problem.

Another benefit to using releases is that you can collect metadata about downloads. That would be a great way to track the growing interest in PW over time.
https://help.github.com/articles/getting-the-download-count-for-your-releases/

  • Like 12

Share this post


Link to post
Share on other sites

I think having a download option in the installer for getting additional site profiles beyond blank and basic would be the simpler option, which depends less on GitHub and people being familiar with it.

  • Like 2

Share this post


Link to post
Share on other sites
5 minutes ago, LostKobrakai said:

I think having a download option in the installer for getting additional site profiles beyond blank and basic would be the simpler option, which depends less on GitHub and people being familiar with it.

I put in a request similar to that here several weeks ago.  Ryan had some justifiable concerns with it:
https://github.com/processwire/processwire-requests/issues/137

  • Like 1

Share this post


Link to post
Share on other sites

@Jonathan Lahijani Those are certainly true for arbitrary uploads/retrieval from links, but less so for hardcoded, not user facing download links, where packages could even be chechsum checked before usage by the installer.

Share this post


Link to post
Share on other sites

Hey guys, I was reading the news of the latest dev branch this morning and noticed the profiles discussion here. As far as I like checking up the profiles as I am not a Pro developer (yet 😉 ) but I also like the simplicity in things, to have the PW installer with a single profile (let’s say blank) and provide within a step of the installer to use another profile? Let’s say I am installing PW and after asking for credentials etc. it notifies me that by default I am using blank profile so if I would like to use another one, to select from the list where all default profiles are listed. Doing this I would still end up with my favorite profile, but I won’t have to download extra files just so that I delete them.

The only issue I see here is if a developer wants to have a copy of PW and install it locally while being offline (working from remote locations with no Internet access) however if this is happening, most likely we would be talking about a person who knows his things around PW and most likely would have his own profile to use already. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.