profile
viewpoint
Simon Rice SimonRice @wavingcatapps West London, United Kingdom https://www.simonrice.com/ Creating quality apps & brilliant websites with a cheerful spirit!

SimonRice/homebrew-imapsync 4

(Deprecated) IMAPSync Formula for Homebrew

SimonRice/CordovaCocoaPodsExample 2

A simple example of using CocoaPods with Apache Cordova

SimonRice/ABReviewReminder 0

Reminds the iPhone and iPad app users to review your app.

SimonRice/Aerial 0

Apple TV Aerial Screensaver for Mac

SimonRice/AJParallaxEffect 0

Horizontal Parallax Effect for iPhone

SimonRice/AlbumFlow 0

CSS3 Coverflow to be used on bobdaisley.com

SimonRice/Appz 0

Launch external apps, and deeplink, with ease using Swift! .. http://kitz.io

SimonRice/Babelish 0

Chaotically confused, like Babel

pull request commentnetlify/build-image

Swift Support

@alexito4 since I helped build this feature, I feel it's a slight duty to try to help you out here.

Can I ask:

  1. Are you deploying via Git?
  2. Is your Package.swift file in the root of your repo & your content folder is in a folder inside your repo...or...
  3. ...Is your content & Package.swift in the same folder.

If it's number 2, you may wish to set your "Base Directory" setting to match that of your content & clear your "Output Directory" setting.

One example of this is up at:

Repo: https://github.com/SimonRice/NetlifyNoSwiftBuild Site: https://eloquent-babbage-fa1d43.netlify.app/ Logs: https://app.netlify.com/sites/eloquent-babbage-fa1d43/deploys/5ec2d75ab1f8f3f90dd560d4

Settings:

Screenshot 2020-05-18 at 8 04 37 pm

Let me know if this helps at all.

SimonRice

comment created time in 8 days

push eventSimonRice/NetlifyNoSwiftBuild

Simon Rice

commit sha 6f0e5f48424f3b7d703dbdc13558c0af4212ff20

Remove foundation

view details

Simon Rice

commit sha 78545a323dde0f66e30a0625b8e993b3b2f77f82

Add Swift version

view details

push time in 8 days

create barnchSimonRice/NetlifyNoSwiftBuild

branch : master

created branch time in 8 days

created repositorySimonRice/NetlifyNoSwiftBuild

Example of skipping SPM in Netlify

created time in 8 days

startedonurhuseyincantay/Hover

started time in 10 days

startedpointfreeco/swift-composable-architecture

started time in 11 days

startedtwostraws/whats-new-in-swift-5-3

started time in 11 days

pull request commentnetlify/build-image

Swift Support

Thank you so much for the build access @Benaiah - the one small production website I already migrated to Swift on Netlify is building well with this image without the workarounds I previously used. I also ran the deploy again to test the SPM cache & that has a positive impact on build times as well 🎉.

SimonRice

comment created time in a month

delete branch SimonRice/apollo-ios

delete branch : watch-out

delete time in a month

PR opened apollographql/apollo-ios

Add watchOS 3.0 availability for urlSession(:task:didFinishCollecting)

I've updated to the latest version of Apollo iOS today on a project I have in the works 🎉.

However, when set up via SPM on a watchOS-project, the main Apollo library wouldn't build because of this error:

/path/to/apollo-ios/Sources/Apollo/URLSessionClient.swift:115:53: error: 'URLSessionTaskMetrics' is only available in watchOS 3.0 or newer
                       didFinishCollecting metrics: URLSessionTaskMetrics) {
                                                    ^
/path/to/apollo-ios/Sources/Apollo/URLSessionClient.swift:113:13: note: add @available attribute to enclosing instance method
  open func urlSession(_ session: URLSession,
            ^
/path/to/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:12: note: add @available attribute to enclosing class
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {

In this PR, I've opted for adding watchOS 3.0 to the existing @available attribute on the instance method.

+1 -1

0 comment

1 changed file

pr created time in a month

push eventSimonRice/apollo-ios

Simon Rice

commit sha c10314b8f1eb3443c4ea26326e6ee01d7f91d425

Add watchOS 3.0 availability for urlSession(:task:didFinishCollecting)

view details

push time in a month

create barnchSimonRice/apollo-ios

branch : watch-out

created branch time in a month

push eventSimonRice/apollo-ios

Ellen Shapiro

commit sha 78fe423176fb46f2c8fcc1727f7be2b85f9c2cb8

Add URL session client and tests

view details

Ellen Shapiro

commit sha bb9354affc4966b5eb9a8aea03257fc283cb2428

replace URLSession with URLSession client, add raw result callback and go to requiring http response

view details

Ellen Shapiro

commit sha 6beec62bf784fdcb62df3208267e7cce661c8332

make raw completion optional, better error handling

view details

Ellen Shapiro

commit sha c55c4d2b54f0b2a8eeff6bcc278b77a872128bdb

fix annotations and make a couple methods subclassable

view details

Ellen Shapiro

commit sha 29cddc5a836c57e495cb16c46f5a4ae8dbfffac0

replace `MockURLSession` with `MockURLSessionClient` subclass.

view details

Ellen Shapiro

commit sha 0020b13f22ec79a2a3aac03dc56fc11c4854678b

update tests to use mock client instead of mock session, fix a couple things that don't need to be unwrapped anymore

view details

Ellen Shapiro

commit sha 08c68dcb51b19c2a6b26c38e7554f8231f4cf919

add inline documentation to URLSessionClient

view details

Ellen Shapiro

commit sha b4df0a7ca3fbc5952ec11146b03a920514bbaac6

Update advanced setup docs to include some documentation for new URLSessionClient class.

view details

Ellen Shapiro

commit sha 89da035e95ed8db4e12ed0b69d22770e32008ee9

test two different types of cancellation

view details

Ellen Shapiro

commit sha 97497c54c1831cfc300d2b594a71e522c2b01750

add missing @available warnings for watchOS and tvOS

view details

Ellen Shapiro

commit sha 4527d0b72d76567d571f5720baf1c1b938865d7f

Add note about delegate methods to the class documentation of URLSessionClient

view details

Ellen Shapiro

commit sha d68300e6e5f5ffb19503e12e6446167473372047

add context to error being returned when something goes wrong at the network level

view details

Simon Rice

commit sha c97b13692f4a2b1a33d8b91f1936393a23ea5d63

Swift Scripting Docs targetRootURL Possible Typo In the `ApolloCodegenOptions` section of the codegen tutorial, the `targetRootURL` parameter of `ApolloCodegenOptions` was set to `targetRootURL`, which I believe hasn't been referred to anywhere else. I believe this is meant to be `targetURL`, which has been used in previous steps.

view details

Renovate Bot

commit sha 83deb527da1c34dba05c1a17924b747632fb9a70

Update dependency gatsby to v2.20.36

view details

Renovate Bot

commit sha 353fbfef4ff6f586f5e5c221839b9caa70d8a471

Update dependency gatsby-theme-apollo-docs to v4.2.0

view details

Ellen Shapiro

commit sha b91ccf6d4a6eb9db537a12899980f1ef1ccca6d7

Merge pull request #1172 from SimonRice/patch-1 Swift Scripting Docs targetRootURL Possible Typo

view details

Ellen Shapiro

commit sha 95eaacbcafbd1eb15f7721fcf4fe2c1780343d0e

Merge pull request #1163 from apollographql/add/urlsessionclient Add background-compatible `URLSessionClient` class

view details

Ellen Shapiro

commit sha 9a52ba39cd349e1442e4ed37f119bf5f0688586c

regenerate documentation

view details

Ellen Shapiro

commit sha 15047550b01c8768547d0f1a3ba908a6316d44dd

update changelog and bump version

view details

Ellen Shapiro

commit sha 554621b1582c98950f9558bf9b1ad931b2e93e04

fix availability with URLSessionStreamTask for OSX

view details

push time in a month

startednosarj/BitriseDeploy

started time in a month

PR opened apollographql/apollo-ios

Swift Scripting Docs targetRootURL Possible Typo

In the ApolloCodegenOptions section of the codegen tutorial, the targetRootURL parameter of ApolloCodegenOptions was set to targetRootURL, which I believe hasn't been referred to anywhere else. I believe this is meant to be targetURL, which has been used in previous steps.

So far, this has been incredibly useful though & I've been able to get some code generated entirely in Swift, so I'm a happy bunny!

+1 -1

0 comment

1 changed file

pr created time in a month

push eventSimonRice/apollo-ios

Simon Rice

commit sha c97b13692f4a2b1a33d8b91f1936393a23ea5d63

Swift Scripting Docs targetRootURL Possible Typo In the `ApolloCodegenOptions` section of the codegen tutorial, the `targetRootURL` parameter of `ApolloCodegenOptions` was set to `targetRootURL`, which I believe hasn't been referred to anywhere else. I believe this is meant to be `targetURL`, which has been used in previous steps.

view details

push time in a month

fork SimonRice/apollo-ios

📱 A strongly-typed, caching GraphQL client for iOS, written in Swift

https://www.apollographql.com/docs/ios/

fork in a month

PR opened Yalantis/Koloda

Carthage dependency redirection

Pop has been moved to facebookarchive/pop.

While Carthage does redirect requests for downloads, the authentication for Github's API doesn't always follow the redirect. This can cause problems on some CI systems, notably bitrise. In this case, the lack of redirect means Carthage has to rebuild Pop when a perfectly good binary is available.

This PR sets pop's source in both the Cartfile & its resolved file accordingly so such a redirect isn't needed.

+2 -2

0 comment

2 changed files

pr created time in a month

push eventWavingCatApps/Koloda

Simon Rice

commit sha cc8eb9a1a5f2fe7a0d47702395d958c1b03fb0c2

Carthage dependency redirection

view details

push time in a month

create barnchWavingCatApps/Koloda

branch : top-of-the-pops

created branch time in a month

fork SimonRice/frigidaire

Frigidaire Cloud API

fork in a month

fork SimonRice/homebridge-frigidaire

homebridge Platform plugin for Frigidaire connected appliances

fork in a month

startedkarlg100/homebridge-frigidaire

started time in a month

pull request commentmagnatronus/ldbs-json

Namespace CRS element when used in Filter List

Perfect @magnatronus - thank you so much for looking at this 🎉

SimonRice

comment created time in a month

delete branch SimonRice/ldbs-json

delete branch : namespace-filter-list-crs

delete time in a month

PR opened magnatronus/ldbs-json

Namespace CRS element when used in Filter List

First of all, thank you for working on this incredibly useful library!

I was finding my GetNextDepartures requests were failing because the crs child elements in the filter list weren't being namespaced. This PR corrects it.

+1 -1

0 comment

1 changed file

pr created time in 2 months

create barnchSimonRice/ldbs-json

branch : namespace-filter-list-crs

created branch time in 2 months

create barnchSimonRice/ldbs-json

branch : explicit-array

created branch time in 2 months

fork SimonRice/ldbs-json

A nodejs module for accessing both OpenLDBWS and OpenLDBSVWS SOAP services that returns the results as JSON

fork in 2 months

push eventSimonRice/graphql-mesh

Simon Rice

commit sha 9d02213ec76def8a1c3f84d3c4d29717a91f9a53

Poorly documented options JSON

view details

push time in 2 months

create barnchSimonRice/graphql-mesh

branch : soap-options

created branch time in 2 months

pull request commentnetlify/build-image

Swift Support

Netlify devs: may I ask if any of you can review this again? I have updated Swift in this PR to v5.2 by default now that it has been released & is readily available across both macOS & Linux. However, any other version of Swift can be used (& cached) provided it is specified in either a SWIFT_VERSION environment variable or in a .swift-version file, which is very similar to how this sort of thing works in NodeJS & Ruby on Netlify.

SimonRice

comment created time in 2 months

push eventSimonRice/build-image

Simon Rice

commit sha 8893e9a03c938314391a8c22080ab5cd52f32fd9

Swift 5.2 update

view details

push time in 2 months

PR opened kylef/swiftenv-api

Add 5.2

Thank you very much for the quality work here @kylef 🚀 it's proving to be very useful in my efforts for helping get Swift working on Netlify!

This PR adds Swift 5.2 to the versions list now Apple have shipped it.

+5 -0

0 comment

1 changed file

pr created time in 2 months

create barnchSimonRice/swiftenv-api

branch : swift-5.2

created branch time in 2 months

fork SimonRice/swiftenv-api

API for swiftenv to return the available versions of Swift

https://swiftenv-api.fuller.li/

fork in 2 months

issue commentSimonRice/bitrise-step-sentry-dsym-upload

How can I add this step to my Bitrise workflow ?

Hi there,

I keep meaning to actually release this build step, which will make this much easier. Real artists ship & all that.

For the time being though:

  1. On your project's settings, go to the bitrise.yml tab.
  2. At the right point on your YAML file (after xcode-archive is a good place), add something like this:
    - git::https://github.com/SimonRice/bitrise-step-sentry-dsym-upload.git@master:
        inputs:
        - sentry_project_slug: YOUR_PROJECT_SLUG
        - sentry_org_slug: YOUR_ORG_SLUG

The build step will then be configurable via Bitrise's UI.

I hope this helps.

OhMyApp

comment created time in 2 months

push eventSimonRice/build-image

push time in 2 months

push eventSimonRice/build-image

Simon Rice

commit sha 1f39373bf5dabfd16de6030685c3ee9eaa75eb86

Update Swift to 5.2

view details

push time in 2 months

push eventSimonRice/PlotSample

Simon Rice

commit sha a7397d1eb8a4a9e6d22f992bc3a84acbace35e78

Readme updates

view details

push time in 3 months

push eventSimonRice/build-image

Jeff Terrell

commit sha 52f8eb9525f61ba97e55114213a841c0c145b7d4

Add Clojure CLI tools (#289) Many people using Clojure are migrating away from Leiningen and Boot and using the newer Clojure CLI [1] to specify dependencies and build scripts. This commit adds support for the Clojure CLI tools to the Netlify build image, approximately following the Linux installation instructions [2]. I also added the apt `rlwrap` package because the `clj` program requires it. The `clojure` program does not, but I think many people are calling `clj` instead of `clojure` out of habit. There have been two prior pull requests attempting to add these tools [3] [4]. I think both failed to successfully build the docker image. I have verified that the Dockerfile in this commit does successfully build an image, and I have used that image to successfully build a project of mine [5] that uses the Clojure CLI tools, so I'm reasonably confident that this works. [1] https://clojure.org/guides/deps_and_cli [2] https://clojure.org/guides/getting_started#_installation_on_linux [3] https://github.com/netlify/build-image/pull/247 [4] https://github.com/netlify/build-image/pull/279 [5] https://gitlab.com/unc-app-lab/website

view details

James King

commit sha 85f74bd415e22878bad5783a3813dabcb1ffded2

Add PHP 7.4 (#366)

view details

Ben Pickles

commit sha 413a71dba10892e88a8a35c9a138989da542b7cf

Don't include documentation when installing bundler (#369)

view details

Benaiah Mischenko

commit sha 6b66e79d54a8f76b01392124644c3052ac0d32ef

3.3.6

view details

Benaiah Mischenko

commit sha e08fee4b12860047a138a89bf5f8623e7ee52b90

Only remove Netlify Build's Node version if it's cached (#379)

view details

Benaiah Mischenko

commit sha 2dbd444fcdce00cf06325060a8238d5ae3e86774

3.3.7

view details

Simon Rice

commit sha cfb1c80dcf649ea3e8da67bc14ba0c5924a2b174

Add Swift Dependencies

view details

Simon Rice

commit sha ba0c3520a7feb2afa97e55c38d31ccffed15f491

Add Swift Version parameter to start image

view details

Simon Rice

commit sha 42ffdb0a3fea997f2ce329ef0927c1caab0746a3

Add Swift Version to test-build

view details

Simon Rice

commit sha b455980763a6a17ad5208b3f2c2c862622f0cc78

Swift install

view details

Simon Rice

commit sha 3512229863c60f3912c0b5bca34af982a1dbf545

Swift Env Vars Correction

view details

Simon Rice

commit sha 1b5ca2ef6a4fcf9f274092adbe8c984967abfb8c

Remove extra quote mark

view details

Simon Rice

commit sha 91288385224680c8fad4a711dd86fb2b5f184df5

Temporarily skip verification of Swift

view details

Simon Rice

commit sha 5df930dd63e371551e3612091f437a5e59c0ea54

Reinstated GPG Swift checks

view details

Simon Rice

commit sha 9b922adc2a51dd8067d21383afd77ec354c3a3ba

Removed Swift keys from apt-key stages

view details

Simon Rice

commit sha a22251ea7b306ad2f1031607113f756c252a54a8

Unsilencing cURL

view details

Simon Rice

commit sha f0c33e390dd2ec0406312ef322f620870351d2bb

SPM/Swift Caching

view details

Simon Rice

commit sha 7b5ccb63ee4b6515f5d432887a957bbd417a1980

Minor Swift changes

view details

Simon Rice

commit sha af2d276f3f7a2aa84cab0ff092472b325ae90995

Swift cachability

view details

Simon Rice

commit sha e80ce69d13e4a9c83e1f336e12f14db7772610d9

Remove SWIFT_VERSION parameter

view details

push time in 3 months

push eventSimonRice/build-image

Simon Rice

commit sha c6e3bf0c52b5b1c578c38dc6460d6fe448d9e76d

Renamed env variable to NETLIFY_BUILD_SWIFT_VERSION, to be consistent with Node

view details

push time in 3 months

push eventSimonRice/build-image

Simon Rice

commit sha 2c57597067807aef1f584b31442e1a346f6e896e

Removed unnecessary clang dependency

view details

push time in 3 months

push eventSimonRice/build-image

Simon Rice

commit sha fb21b304f732d0b5b1d9d9b940ad790115f9d500

Add Swift Dependencies

view details

Simon Rice

commit sha df2ac8aa32ee9bfb00dc1636b699caad41b7907c

Add Swift Version parameter to start image

view details

Simon Rice

commit sha 1539d96d461e278e58c38aa25790d45694e484b3

Add Swift Version to test-build

view details

Simon Rice

commit sha 974267b2dcb97f0e05ac02784c01c94995cb88ff

Swift install

view details

Simon Rice

commit sha 8d6827b10897dac21a80609b9bf0a7998af7a8bc

Swift Env Vars Correction

view details

Simon Rice

commit sha 50e628c6f55de76ee78a487782cb87cf57c77aea

Remove extra quote mark

view details

Simon Rice

commit sha 1a2b365362092f38e75a3a019f14767269b769d0

Temporarily skip verification of Swift

view details

Simon Rice

commit sha e82f30a654f5a01dbcdd61fa91c478ecfe5e5532

Reinstated GPG Swift checks

view details

Simon Rice

commit sha 9ac9e771869fc65a7c431226e6c21e973ddce510

Removed Swift keys from apt-key stages

view details

Simon Rice

commit sha 97ef34ccba3321a8b088d212b8e86dc99ee36a2d

Unsilencing cURL

view details

Simon Rice

commit sha 8577a66e2a38c22bf79d1d07d348dede54b50224

SPM/Swift Caching

view details

Simon Rice

commit sha 238a6e8fd278f9440bfb23775c2c7b040b46a30c

Minor Swift changes

view details

Simon Rice

commit sha 725141165dd858a0dbb01c8f09a27b99000f88c5

Swift cachability

view details

Simon Rice

commit sha f3caf658805e18164d55d30b7fd8d807d34aff0e

Remove SWIFT_VERSION parameter

view details

Simon Rice

commit sha 94f93f533787fa9be23a9908af975bc692481ac3

Added Swiftenv

view details

Simon Rice

commit sha c3da4c9c32fcaeea1c649bef5e68b5db3bdbb626

Use Swiftenv as part of build

view details

Simon Rice

commit sha ca67188a48dff515fd6dfe4146609a4a05fc6b42

Swiftenv fixes

view details

Simon Rice

commit sha 10869af24fc8e4bdb29ae1727bdb3e5b65ebb06d

Added Swift to included software docs

view details

Simon Rice

commit sha 1010315eac2620e8375167f46a8ec323a6c05033

Used skip if installed swiftenv parameter

view details

Simon Rice

commit sha 2bd554679152f9ac0640d77718689ab4e77f217f

Extracted out Docker Swift version to its own env variable

view details

push time in 3 months

push eventSimonRice/build-image

Benaiah Mischenko

commit sha 74b052522b9225f89f7f06702ebc987a18e15a23

Pin setuptools to <45 to allow installing pipenv on python 2.7 (#376) Fixes CI failures currently affecting any build-image PRs.

view details

François Violette

commit sha cb6c44a0b52a0fd190dfb6939e088ffdb2bf492c

Fix typo (#373)

view details

Benaiah Mischenko

commit sha 0755106eaeb9416ba7cd6c8fae0fdab124b4501c

Define NETLIFY_BUILD_NODE_VERSION and "nvm install" it (#375) * Define NETLIFY_BUILD_NODE_VERSION and "nvm install" it * remove unnecessary "nvm use 10"

view details

Simon Rice

commit sha 370d52d587ef2ab99e6d720ed8262abc3e088e48

Merge remote-tracking branch 'netlify/xenial' into xenial

view details

push time in 3 months

push eventSimonRice/build-image

Simon Rice

commit sha 5ce9fa172cbf3fc4cfa83b3af8fd080685b8a893

Bumped to Swift 5.1.4 & removed unnecessary clang dependency

view details

push time in 3 months

issue closednetlify/build-image

Build Image: pip fails to install

I was making a few modifications to my Swift Support PR (that's #364) when I found the Docker image on the xenial branch no longer builds when running docker build ..

The failing section in question related to Python, specifically installing pip.

ENV PIPENV_RUNTIME 2.7

USER buildbot

RUN virtualenv -p python2.7 --no-site-packages /opt/buildhome/python2.7 && \
    /bin/bash -c 'source /opt/buildhome/python2.7/bin/activate' && \
    ln -nfs /opt/buildhome/python2.7 /opt/buildhome/python2.7.11

RUN virtualenv -p python3.5 --no-site-packages /opt/buildhome/python3.5 && \
    /bin/bash -c 'source /opt/buildhome/python3.5/bin/activate' && \
    ln -nfs /opt/buildhome/python3.5 /opt/buildhome/python3.5.6

RUN virtualenv -p python3.7 --no-site-packages /opt/buildhome/python3.7 && \
    /bin/bash -c 'source /opt/buildhome/python3.7/bin/activate' && \
    ln -nfs /opt/buildhome/python3.7 /opt/buildhome/python3.7.2

RUN /opt/buildhome/python${PIPENV_RUNTIME}/bin/pip install pipenv

The final RUN command in the snippet above has this for an output:

Step 32/95 : RUN /opt/buildhome/python${PIPENV_RUNTIME}/bin/pip install pipenv
 ---> Running in 6493b7a2885a
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pipenv
  Downloading pipenv-2018.11.26-py2-none-any.whl (5.2 MB)
Collecting certifi
  Downloading certifi-2019.11.28-py2.py3-none-any.whl (156 kB)
Requirement already satisfied: setuptools>=36.2.1 in /opt/buildhome/python2.7/lib/python2.7/site-packages (from pipenv) (45.0.0)
ERROR: Package 'setuptools' requires a different Python: 2.7.12 not in '>=3.5'
The command '/bin/sh -c /opt/buildhome/python${PIPENV_RUNTIME}/bin/pip install pipenv' returned a non-zero code: 1

I think long story short, PIPENV_RUNTIME needs to be bumped up as setuptools (a pip dependency) no longer supports Python 2.7 (see pypa/setuptools#1955), but I'm not an expert in best practices for supporting legacy versions of Python, so I've opted not to open a PR for this.

closed time in 3 months

SimonRice

issue commentnetlify/build-image

Build Image: pip fails to install

#376 seems to have fixed this 🎉 closing!

SimonRice

comment created time in 3 months

more