profile
viewpoint

leehambley/capistrano-handbook 277

Capistrano Handbook for All

leehambley/capistrano-yaml-multistage 7

Multi-Stage deploys with Capistrano using a YAML configuration file.

leehambley/actionmailer_inline_css 1

Seamlessly integrate Alex Dunae's premailer with ActionMailer.

leehambley/dddcqrsesbook.com 1

Static site generator for dddcqrsesbook.com

leehambley/envalid 1

Validate and document environment variables for use in Ruby projects. Inspired by https://www.npmjs.com/package/envalid

leehambley/42_Subjects 0

All Subjects of 42 School

leehambley/angular2-redux-example 0

Angular 2 Redux Starter Repo

leehambley/arbitrary-git-refs 0

Test to see if adding your own .git/refs/ works in a sane way.

push eventleehambley/pre-commit-graphql

Lee Hambley

commit sha 19342ac051811d8a5a6d882cf938598f304439b9

don't pass filenames

view details

push time in 6 days

issue commentdocker/for-mac

File system performance improvements

Caveats aside the mutagen thing works pretty damned well.

I'm shocked by the number of people here recommending NFS, which in my experience (subject to the config you choose) breaks a fundamental feature of filesystems (the inotify/watch). Mutagen keeps this behaviour working more-or-less correctly (from what I could tell)

Also @yallop I mentioned earlier in the thread, I think the mutagen thing breaks the https://twitter.com/fuzzyKB/status/1285020925260251137 feature which is critical for my team (and others, I am sure, we use git as a source for gems, packages, libraries, etc)

yallop

comment created time in 12 days

startedboundarydevices/imx_usb_loader

started time in 14 days

push eventleehambley/mitre

Lee Hambley

commit sha 6b9e962154da3f16e0ac421b311796f30e730a64

Update README.md fix typo

view details

push time in 18 days

startedbdring/midTbot_esp32

started time in 21 days

PublicEvent

startedreds-heig/logisim-evolution

started time in 22 days

issue commentdocker/for-mac

File system performance improvements

Two questions and/or bits of feedback/observation?

Can it be that running under this configuration breaks things /run/host-services/ssh-auth.sock as documented in https://docs.docker.com/docker-for-mac/osxfs/#ssh-agent-forwarding? My host lists my identieis, the volume is mounted with that file as the "source" and in the agent I see keys, in the container I see:


# our compose file has a env var expansion for `SSH_AUTH_SOCK` which is set differently for our mac/linux using colleagues.

leehambley@Lees-MacBook-Pro stuart-api % ssh-add -l
256 SHA256:AloWhmgE█ █ █ █ █ █ █ █ █ █ █ █ █ █  lee.hambley@gmail.com (ED25519)

leehambley@Lees-MacBook-Pro stuart-api % SSH_AUTH_SOCK=/run/host-services/ssh-auth.sock COMPOSE_FILE="docker-compose-dev.linux.yml:docker-compose-dev.yml" docker-compose run --rm --entrypoint=/bin/bash api


root@d34f1049e343:/app# ssh-add -l
The agent has no identities.

root@d34f1049e343:/app# env $SSH_AUTH_SOCK
env: /tmp/ssh_agent.sock: Permission denied

root@d34f1049e343:/app# ls -lah /tmp/ssh_agent.sock
srwxr-xr-x 1 root root 0 Jul 10 14:04 /tmp/ssh_agent.sock

root@d34f1049e343:/app# file /tmp/ssh_agent.sock
/tmp/ssh_agent.sock: socket

Also, I observed a change in behaviour. We "rely" (tbh we should just commit empty, ignored directories with a .gitkeep in) on the auto-creation of directories on the host which don't exist and are the source directory in a container, e.g .dbdata which without mutagen/etc is created on the host transparently when used as a volume.

yallop

comment created time in 25 days

issue commentcrops/poky-container

Consider keeping EOL distros for build reproducibility

Hi @rewitt1, outstanding responses thanks. I appreciate everything you have done to help support our less than optimal misuse of the crops images :)

richardbarlow

comment created time in a month

issue commentcrops/poky-container

Consider keeping EOL distros for build reproducibility

I second @richardbarlow 's request. I'm currently learning Yocto and trying to work from a vintage 2016 tarball provided by the vendor that I have lovingly re-factored into a yocto tree using submodules. Everything is ancient, and poorly documented, and I was happily using the :debian-8 tag of the crops/poky image (the oldest in the repo, last week when I was working, and also the only version that actually worked).

I'm trying to upgrade things, but it's 4 years of software updates I have to trawl through, and I limited git sources from the vendor (shallow clones, packed in tarballs) so I'm on very, very thin ice.

I am cloning the debian-8 image to my own systems now for safety's sake, but I was surprised to see this project's apparently policy of trimming old image tags. (Is there some effect such as max tagged versions or similar which insentiences trimming the tag list?)

richardbarlow

comment created time in a month

push eventharrowio/harrow

dependabot[bot]

commit sha 6e0d1be1abcae7a19af410d1cc1290abce8d552d

Bump electron from 1.8.8 to 9.1.0 in /frontend Bumps [electron](https://github.com/electron/electron) from 1.8.8 to 9.1.0. - [Release notes](https://github.com/electron/electron/releases) - [Changelog](https://github.com/electron/electron/blob/master/docs/breaking-changes.md) - [Commits](https://github.com/electron/electron/compare/v1.8.8...v9.1.0) Signed-off-by: dependabot[bot] <support@github.com>

view details

Lee Hambley

commit sha a8e4d9d623be4e7908846414be2eb884580bf7b9

Merge pull request #56 from harrowio/dependabot/npm_and_yarn/frontend/electron-9.1.0 Bump electron from 1.8.8 to 9.1.0 in /frontend

view details

push time in a month

PR merged harrowio/harrow

Bump electron from 1.8.8 to 9.1.0 in /frontend dependencies

Bumps electron from 1.8.8 to 9.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/electron/electron/releases">electron's releases</a>.</em></p> <blockquote> <h2>electron v9.1.0</h2> <h1>Release Notes for v9.1.0</h1> <h2>Features</h2> <ul> <li>Added support for <code>MessagePort</code> in the main process. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24323">#24323</a></li> <li>Added support for suspend and resume events to Windows. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24283">#24283</a></li> <li>Added support for suspend and resume events to macOS. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24294">#24294</a></li> <li>Expose sessionId associated with a target from debugger module. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24398">#24398</a></li> <li>Implemented <code>systemPreferences.getMediaAccessStatus()</code> on Windows. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24312">#24312</a></li> </ul> <h2>Fixes</h2> <ul> <li>Fixed an intermittent high-CPU usage problem caused a system clock issue during sleep. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24415">#24415</a></li> <li>Fixed an issue where some old notifications were not properly removed from the Notification Center on macOS. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24406">#24406</a></li> <li>Fixed bug on macOS where the main window could be targeted for a focus event when it was disabled behind a modal. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24354">#24354</a></li> </ul> <h2>electron v9.0.5</h2> <h1>Release Notes for v9.0.5</h1> <h2>Fixes</h2> <ul> <li>Fixed "Paste and Match Style" shortcut on macOS to match OS's "Option-Shift-Command-V". <a href="https://github-redirect.dependabot.com/electron/electron/issues/24185">#24185</a></li> <li>Fixed "null path-to-app" in test-app when Electron's path contains spaces or special characters. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24232">#24232</a></li> <li>Fixed an error when calling <code>dialog.showCertificateTrustDialog</code> with no <code>BrowserWindow</code>. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24121">#24121</a></li> <li>Fixed an issue where <code>shutdown</code> would be emitted both on app <em>and</em> system shutdown on macOS. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24141">#24141</a></li> <li>Fixed an issue where <code>withFileTypes</code> was not supported as an option to <code>fs.readdir</code> or <code>fs.readdirSync</code> under asar. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24108">#24108</a></li> <li>Fixed an issue which would cause streaming protocol responses to stall in some cases. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24082">#24082</a></li> <li>Fixed an issue with click events not being emitted on macOS for Trays with context menus set. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24236">#24236</a></li> <li>Fixed delayed execution of some Node.js callbacks in the main process. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24178">#24178</a></li> <li>Fixed tray menu showing in taskbar on Windows. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24193">#24193</a></li> <li>Fixed window titlebar not responding to pen on Windows 10. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24103">#24103</a></li> </ul> <h2>Other Changes</h2> <ul> <li>Fixed issue with some IMEs on windows (for ex: Zhuyin) don't terminate after pressing shift. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24059">#24059</a></li> <li>Fixed mac app store rejection notice for invalid symbolic link in bundle. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24238">#24238</a></li> <li>Updated Chromium to 83.0.4103.119. <a href="https://github-redirect.dependabot.com/electron/electron/issues/24234">#24234</a></li> </ul> <h2>Documentation</h2> <ul> <li>Documentation changes: <a href="https://github-redirect.dependabot.com/electron/electron/issues/24177">#24177</a></li> </ul> <h2>electron v9.0.4</h2> <h1>Release Notes for v9.0.4</h1> <h2>Fixes</h2> <ul> <li>Added missing support for <code>isComposing</code> KeyboardEvent property. <a href="https://github-redirect.dependabot.com/electron/electron/issues/23996">#23996</a></li> <li>Enable NTLM v2 for POSIX platforms and added --disable-ntlm-v2 switch to disable it. <a href="https://github-redirect.dependabot.com/electron/electron/issues/23934">#23934</a></li> </ul> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/electron/electron/commit/a822d2639a9c9c2c670e91d73f78e921865ce38e"><code>a822d26</code></a> Bump v9.1.0</li> <li><a href="https://github.com/electron/electron/commit/9d6ac058c9ba09e5211cd703675f70901468ca5a"><code>9d6ac05</code></a> feat: expose sessionId in debugger module (<a href="https://github-redirect.dependabot.com/electron/electron/issues/24398">#24398</a>)</li> <li><a href="https://github.com/electron/electron/commit/cbe66f27e725070c7c0c590a2e485978a554be19"><code>cbe66f2</code></a> fix: intermittent 100% CPU usage on macOS (<a href="https://github-redirect.dependabot.com/electron/electron/issues/24415">#24415</a>)</li> <li><a href="https://github.com/electron/electron/commit/4f10bde056d5fe175f338b5bc7b04baf422df5bb"><code>4f10bde</code></a> feat: implement systemPreferences.getMediaAccessStatus() on Windows (<a href="https://github-redirect.dependabot.com/electron/electron/issues/24275">#24275</a>) ...</li> <li><a href="https://github.com/electron/electron/commit/473c7dbe734fd2df68fa68f3a344e3a0222dfbf8"><code>473c7db</code></a> chore: use node_bindings loop for clarity (<a href="https://github-redirect.dependabot.com/electron/electron/issues/24418">#24418</a>)</li> <li><a href="https://github.com/electron/electron/commit/4515c4db00d94175179e47b0c4d05d7d4f0074a7"><code>4515c4d</code></a> feat: add app render-process-gone event (<a href="https://github-redirect.dependabot.com/electron/electron/issues/24315">#24315</a>)</li> <li><a href="https://github.com/electron/electron/commit/6dd394a155116cec542656165973a7888fe3938f"><code>6dd394a</code></a> fix: remove same-tag notifications before showing new ones (<a href="https://github-redirect.dependabot.com/electron/electron/issues/24406">#24406</a>)</li> <li><a href="https://github.com/electron/electron/commit/4ace4995c81f1b04ab99cc1707d037e9972e1316"><code>4ace499</code></a> feat: MessagePorts in the main process (<a href="https://github-redirect.dependabot.com/electron/electron/issues/24323">#24323</a>)</li> <li><a href="https://github.com/electron/electron/commit/71e329663e24fa4773dd4bdbf8fe71844de87bb8"><code>71e3296</code></a> feat: add new render-process-gone event (<a href="https://github-redirect.dependabot.com/electron/electron/issues/24309">#24309</a>)</li> <li><a href="https://github.com/electron/electron/commit/67002fdf11b7329cdba2e70ace583cb0b853e4cc"><code>67002fd</code></a> fix: macOS modal focus (<a href="https://github-redirect.dependabot.com/electron/electron/issues/24354">#24354</a>)</li> <li>Additional commits viewable in <a href="https://github.com/electron/electron/compare/v1.8.8...v9.1.0">compare view</a></li> </ul> </details> <br />

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


<details> <summary>Dependabot commands and options</summary> <br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

</details>

+1 -1

1 comment

1 changed file

dependabot[bot]

pr closed time in a month

push eventleehambley/pre-commit-graphql

Lee Hambley

commit sha bb45a0cc9060aeb0511b41bf7ba59b69a18f32f4

add ability to generate docs

view details

push time in a month

fork leehambley/pg_lock

Use Postgres advisory lock to isolate code execution across machines

fork in a month

push eventleehambley/pre-commit-sort-yaml-keys

Lee Hambley

commit sha 06faf97a03642e3a2f92d4f5e4582a99e73e6d88

move file to the right name

view details

push time in a month

create barnchleehambley/pre-commit-sort-yaml-keys

branch : master

created branch time in a month

created repositoryleehambley/pre-commit-sort-yaml-keys

Sorts YAML files alphabetically. Uses https://pypi.org/project/yam-sort/ from pip

created time in a month

issue commentdocker/for-mac

File system performance improvements

I've been quietly following this thread eagerly for a long, long time. Docker filesystem performance on macOS drove me to Linux in early 2019. A huge Rails 5.x application, something like 35,000 ruby files, 400 gem dependences, a real monolith, and filesystem performance is/was diabolical.

We use :cached and :delegated, and some of us use NFS with special options, we would be very surprised if suddenly the apps take minutes to boot, because the semantics of the Mutagen backed mounts are different.

I would also vote for a new mount option (:mutagen) or whatever. Generic names such as :consistent or whatever strike me as misleading. Isn't the point here to trade off some consistency (in the typical fs sense of the word) for speed, because this is a development optimized pseudofilesytem?

(some in my team have tried early edge releases, from the first ones posted in this thread, and had problems, something abour our app meant we couldn't make this work, it may have been before the mutagen sync time/readiness was clearly communicated)

yallop

comment created time in a month

push eventleehambley/pre-commit-graphql

Lee Hambley

commit sha ac44fdb027eab6cc38cfc41f8d26a00f7d898f41

add little readme

view details

push time in a month

create barnchleehambley/pre-commit-graphql

branch : master

created branch time in a month

created repositoryleehambley/pre-commit-graphql

pre-commit.com hooks for linting and formatting graphql SDL files

created time in a month

startedrosimildo/videoenc

started time in 2 months

issue commentdocker/roadmap

[Docker Desktop] Improve Mac File system performance

Here's the same video via YouTube if you prefer to watch without giving your contact information to Docker's commercial team:

  • https://www.youtube.com/watch?v=gyddZyc8r48
nebuk89

comment created time in 2 months

startedpetr-ujezdsky/docker-io-test

started time in 2 months

startedfifteenhex/linux-chenxing

started time in 2 months

PR opened chriskuehl/identify

Add extension for .graphql schema

.graphql files are text files describing an interface with a bespoke IDL described in the spec at https://spec.graphql.org/June2018/

+1 -0

0 comment

1 changed file

pr created time in 2 months

push eventleehambley/identify

Lee Hambley

commit sha 138bf28160007efe20f779e6932f5845abf22579

Add extension for .graphql schema .graphql files are text files describing an interface with a bespoke IDL described in the spec at https://spec.graphql.org/June2018/

view details

push time in 2 months

fork leehambley/identify

File identification library for Python

fork in 2 months

pull request commentcapistrano/bundler

Switch to environment variables for defining bundler parameters

At first glance @will-in-wi it looks good. I think I concur about the major version bump, although I dare say people are so accustomed to Bundler randomly moving arguments around, and generally breaking the way things work, we don't have to be so cautious.

Personal preference speaking here, I like having the critical options printed in the output. It serves as some kind of documentation about what we expect as the "important" set of Bundler options (which seem to grow more and more numerous every day). I also subscribe to a somewhat outdated school of thought, that when scripting and writing automations one should always prefer explicit over implicit, so use the long form options, specify the argument even if it usually comes with a default, etc, etc.

I think if I parse between the lines in this PR that it's implied that people are customizing bundlers options in a way that means it's tricky to know what to set "the capistrano way", and which to set as the env?

Either way, if I can help you with any kinds of manual testing, just direct me :) I have access to a Ruby project which is still deployed with Capistrano using bundler, and willing colleagues in the devops department who'd be happy to perform some manual testing.

will-in-wi

comment created time in 2 months

issue closedcapistrano/capistrano

capistrano not log the info output for production

I tried to run bundle exec cap production deploy it was nothing happen, no-log no error, and no info, why this happend? and I check on the log it only said:

  INFO START 2020-05-23 15:58:36 +0800 cap production deploy
  INFO ---------------------------------------------------------------------------

i am using, rbenv , latest ruby, latest rail here

closed time in 2 months

ibantoo

issue commentcapistrano/capistrano

capistrano not log the info output for production

Please do not ignore the guidelines when opening a new issue. Use Stack overflow for user help, and GitHub exclusively for reporting bugs.

ibantoo

comment created time in 2 months

issue commentautomerge/automerge

Proxy polyfill does not support trap 'deleteProperty'

In the medium term, I think the best solution would be to implement an alternative API that doesn't use proxies.

I could see that, or find a way not to need the deleteProperty trap and implement things in other terms.

Either way, I don't think in 2020 this is an unreasonable baseline to require, on the web. But for React Native it may well be a different story.

Should I close this Martin, @ept or do you prefer to keep it open? I didn't find any closed issues for the same problem, so this may be the only record?

leehambley

comment created time in 3 months

issue commentcapistrano/capistrano

Deprecation warning on dsl.rb

Thanks for the report, I think this was fixed 8d ago by this PR which isn't included in any releases yet, could you please confirm and close or comment this ticket appropriately?

  • https://github.com/capistrano/capistrano/pull/2060

Thanks, and thanks also for digging into ruby-i18n

jsonUK

comment created time in 3 months

issue openedautomerge/automerge

Proxy polyfill does not support trap 'deleteProperty'

Note: Opening this issue here just as a heads-up.

I don't know that I expect it to be fixed, but I did want to have raised it.

I have to support Mobile Safari 9 (internal version 601.2 in the UA string) and it completely lacks support for the Proxy object. No big deal, we can polyfill with proxy-polyfill.

However, proxy-polyfill doesn't support a specific feature that is used (and none of other pollyfils I could find do, either)

TypeError: Proxy polyfill does not support trap 'deleteProperty'
  at trap(../node_modules/proxy-polyfill/src/proxy.js:60:19)
  at mapProxy(../webpack:/Automerge/frontend/proxies.js:195:14)
  at rootObjectProxy(../webpack:/Automerge/frontend/proxies.js:220:10)
  at Frontend(../webpack:/Automerge/frontend/index.js:274:12)
  at change(../webpack:/Automerge/src/automerge.js:39:37)
  at quizReducer(quizReducer.ts:234:20)
  at dispatch(../node_modules/redux/es/redux.js:213:22)
  at apply(../node_modules/redux/es/redux.js:299:3)
  at enhancer(../node_modules/redux/es/redux.js:629:31)
  at createStore(../node_modules/redux/es/redux.js:79:12)
  at call(quizStore.ts:72:17)
  at tryCatch(../node_modules/regenerator-runtime/runtime.js:45:40)
  at _invoke(../node_modules/regenerator-runtime/runtime.js:271:22)
  at call(../node_modules/regenerator-runtime/runtime.js:97:21)
  at tryCatch(../node_modules/regenerator-runtime/runtime.js:45:40)
  at invoke(../node_modules/regenerator-runtime/runtime.js:135:20)
  at handler(../node_modules/regenerator-runtime/runtime.js:145:13)
  at fn(../node_modules/core-js/modules/es.promise.js:114:22)
  at r(../node_modules/core-js/internals/microtask.js:26:9)
  at promiseReactionJob([native code])

Safari 0.1 versions newer adds support for this, so I can definitely work around this, and I'm starting to discover a base-line for what I can, or cannot support.

Feel free to close if this is/was a known issue and there's no easy workaround. I don't know enough about Proxy or the polyfills to know if ther is an alternative to the delete trap.


  • https://caniuse.com/#feat=proxy
  • https://github.com/GoogleChrome/proxy-polyfill

created time in 3 months

pull request commentcapistrano/capistrano

#2046 Fix Ruby 2.7 keyword parameters warnings

Thanks @Eric-Guo :)

Eric-Guo

comment created time in 3 months

issue commentcapistrano/capistrano

Remote deployments without SCM on target machine

As far as I understand it's mandatory to have a SCM on the deployment target machine and checkout the code there.

It's not mandatory, but expected. You can also run "no" scm plugin and simply transfer files (using Capistrano as a glorified hooks/remote execution framework).

One example of that approach is https://github.com/ctaintor/capistrano-rails-artifact

We also document how to provide a custom SCM https://capistranorb.com/documentation/advanced-features/custom-scm/ this SCM would implement whatever you need to do a "gitless" checkout on the server.

fishbone1

comment created time in 3 months

issue commentcapistrano/capistrano

Remote deployments without SCM on target machine

If you have a CI server that builds assets and will run Capistrnao why not simply upload the assets after doing the deploy (or, during the deploy)?

  • https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#upload-a-file-from-disk
fishbone1

comment created time in 3 months

issue commentcapistrano/capistrano

Run run rake task only once on next deploy

yes, I understand that I can run any rake task on deploy, but it is possible to restrict run it only ONCE ?

Delete the code after you ran it? Use a lockfile, or a locking key in Redis?

rusikf

comment created time in 3 months

more