question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Workspace setting not being respected

See original GitHub issue

hi there,

Just installed latest versions of shipit packages and here’s something new:

Running 'deploy:fetch' task...
Create workspace...
Workspace created: "/var/folders/s0/scv46d414cd28hyzsd5_pcrw0000gn/T/tmp-72206PXTF2WKB77Ro"
Initialize local repository in "/var/folders/s0/scv46d414cd28hyzsd5_pcrw0000gn/T/tmp-72206PXTF2WKB77Ro"
Running "git init" on local.
@ Initialized empty Git repository in /private/var/folders/s0/scv46d414cd28hyzsd5_pcrw0000gn/T/tmp-72206PXTF2WKB77Ro/.git/
Repository initialized.

☝️ obviously, my workspace isn’t set to /var/folders/s0/scv46d414cd28hyzsd5_pcrw0000gn/T/tmp-72206PXTF2WKB77Roso I’m guessing something is wrong with shipit.

Tried chown’ing my workspace folder to 777 to no avail. Don’t know where to look, help?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gregbergecommented, May 3, 2018

The workspace command was misunderstood, so I decided to set it to a temporary directory if shallowClone is activated. Why would you like to specify a custom workspace with shallowClone?

0reactions
gregbergecommented, May 13, 2018

The workspace is actually the directory which is used to clone the repository before deploying it. But most of users was setting it to an existing directory, like the current project and it was erased. To avoid it we can do several things:

  • Use a temp directory in shallow (already done)
  • Check that it is not the current directory
  • Warn in documentation about it
  • Being able to specify a workspace in shallow mode

Actually only the first one is done, so if you are up to the task, you have the three others to do!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Workspace does not respect editor.formatOnSave config from ...
I am using the Prettier - Code Formatter with ESLint extensions in this case to format. Observed Behaviour: File does not format on...
Read more >
User and Workspace Settings - Visual Studio Code
Not all User settings are available as Workspace settings. For example, application-wide settings related to updates and security can not be overridden by ......
Read more >
5 Ways to Show Respect at a Workplace - BetterUp
Everyone deserves to feel respected at work. This guide explains why a respectful workplace matters and shares strategies to ensure others ...
Read more >
Nautilus windows not respecting workspace isolation
In settings, under multitasking > application switching, setting "include applications from the current workspace only" is supposed to ...
Read more >
Workspaces | Administration - Mode Support
Navigate to the Mode home page, click on your name in the upper left corner of the screen and click Workspace Settings from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found