Skip to content

source{d} CE v0.14.0-rc.1 doesn't seem to create ~/.sourced folder #160

@gomesfernanda

Description

@gomesfernanda

When upgrading to version v0.14.0-rc.1 of source{d} CE, I followed

  1. the guideline on Releases section

Upgrading

For internal releases we don't support upgrading. If you have a previous sourced-ce version installed, clean up all your data before downloading this release. This will delete everything, including the UI data for dashboards, charts, users, etc:

sourced prune --all
rm -rf ~/.sourced
  1. then the instruction on source{d} CE Quickstart

On Linux or macOS

Extract sourced binary from the release you downloaded, and move it into your bin folder to make it executable from any directory:

$ tar -xvf path/to/sourced-ce_REPLACE-VERSION_REPLACE-OS_amd64.tar.gz
$ sudo mv path/to/sourced-ce_REPLACE-OS_amd64/sourced /usr/local/bin/

However, when I tried using source{d} CE, I got an error.

$ sourced init local ~/engine-srcd/repos/bblfsh
> /Users/fernandagomes/.sourced does not exist
> Cannot perform this action, source{d} needs to be initialized first with the 'init' sub command

Noticing that the folder didn't exist, I created it

$ mkdir /Users/fernandagomes/.sourced

and everything worked.

I believe there's a bug on this version, where it doesn't create this folder (~/.sourced) when the user initializes the tool.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions