Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade nodegit to v0.23.0 #402

Merged
merged 2 commits into from Nov 6, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions .travis.yml
Expand Up @@ -7,6 +7,13 @@ sudo: required
services:
- docker

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++-4.9-dev

env:
global:
- ELASTICSEARCH=http://127.0.0.1:9200
Expand Down
2 changes: 1 addition & 1 deletion packages/git/blueprints/cardstack-git-seeds/index.js
Expand Up @@ -3,7 +3,7 @@ const {
Branch,
Reference,
Commit
} = require('@cardstack/nodegit');
} = require('nodegit');


/* eslint-env node */
Expand Down
2 changes: 1 addition & 1 deletion packages/git/change.js
Expand Up @@ -8,7 +8,7 @@ const {
Tree,
setThreadSafetyStatus,
TreeEntry: { FILEMODE }
} = require('@cardstack/nodegit');
} = require('nodegit');
const {
MutableTree,
NotFound,
Expand Down
2 changes: 1 addition & 1 deletion packages/git/indexer.js
Expand Up @@ -85,7 +85,7 @@ const {
Commit,
Clone,
Cred,
} = require('@cardstack/nodegit');
} = require('nodegit');
const { promisify } = require('util');
const temp = require('temp').track();

Expand Down
2 changes: 1 addition & 1 deletion packages/git/mutable-tree.js
Expand Up @@ -2,7 +2,7 @@
// not-yet-written tree. But you can't recursively put a Treebuilder
// inside a Treebuilder. That's where this class comes in.

const { TreeEntry, Treebuilder, Blob } = require('@cardstack/nodegit');
const { TreeEntry, Treebuilder, Blob } = require('nodegit');
const { FILEMODE } = TreeEntry;
const tombstone = {};

Expand Down
2 changes: 1 addition & 1 deletion packages/git/node-tests/writer-remote-test.js
Expand Up @@ -2,7 +2,7 @@ const {
Cred,
Clone,
Reset
} = require('@cardstack/nodegit');
} = require('nodegit');

const { inRepo } = require('./support');
const {
Expand Down
2 changes: 1 addition & 1 deletion packages/git/package.json
Expand Up @@ -14,9 +14,9 @@
},
"dependencies": {
"@cardstack/logger": "^0.1.0",
"@cardstack/nodegit": "^0.21.2-cardstack.1",
"@cardstack/plugin-utils": "0.11.6",
"moment-timezone": "^0.5.11",
"nodegit": "^0.23.0",
"temp": "^0.8.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/git/writer.js
Expand Up @@ -2,7 +2,7 @@ const {
Repository,
Cred,
Clone
} = require('@cardstack/nodegit');
} = require('nodegit');

const crypto = require('crypto');
const Change = require('./change');
Expand Down