pinokiod 3.6.42 → 3.6.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -143,7 +143,8 @@ report_errors: false`)
143
143
  let channel = chunks[3]
144
144
  let coerced = semver.coerce(version)
145
145
  let mamba_requirement = ">=24.11.1"
146
- if (semver.satisfies(coerced, mamba_requirement) && channel === "conda-forge") {
146
+ //if (semver.satisfies(coerced, mamba_requirement) && channel === "conda-forge") {
147
+ if (semver.satisfies(coerced, mamba_requirement)) {
147
148
  conda_check.mamba = true
148
149
  }
149
150
  }
package/kernel/bin/git.js CHANGED
@@ -35,12 +35,12 @@ class Git {
35
35
  await this.kernel.bin.exec({ message: "conda remove git" }, ondata)
36
36
  }
37
37
  env() {
38
- if (this.kernel.platform === 'win32') {
38
+ // if (this.kernel.platform === 'win32') {
39
39
  let gitconfig_path = path.resolve(this.kernel.homedir, "gitconfig")
40
40
  return {
41
41
  GIT_CONFIG_GLOBAL: gitconfig_path
42
42
  }
43
- }
43
+ // }
44
44
  }
45
45
  async requires() {
46
46
  return ["conda"]
@@ -278,6 +278,14 @@ class Bin {
278
278
  // pipconfig_path
279
279
  // )
280
280
  }
281
+
282
+ // add gitconfig => support git lfs, long path, etc.
283
+ let gitconfig_path = path.resolve(this.kernel.homedir, "gitconfig")
284
+ // check if gitconfig exists
285
+ await fs.promises.copyFile(
286
+ path.resolve(__dirname, "..", "gitconfig_template"),
287
+ gitconfig_path
288
+ )
281
289
  }
282
290
 
283
291
 
@@ -347,7 +355,8 @@ class Bin {
347
355
  let coerced = semver.coerce(version)
348
356
  let mamba_requirement = ">=24.11.1"
349
357
  console.log({ name, channel, version })
350
- if (semver.satisfies(coerced, mamba_requirement) && channel === "conda-forge") {
358
+ //if (semver.satisfies(coerced, mamba_requirement) && channel === "conda-forge") {
359
+ if (semver.satisfies(coerced, mamba_requirement)) {
351
360
  conda_check.mamba = true
352
361
  }
353
362
  }
@@ -2,3 +2,10 @@
2
2
  longpaths = true
3
3
  [http]
4
4
  postBuffer = 524288000
5
+ [safe]
6
+ directory = '*'
7
+ [filter "lfs"]
8
+ clean = git-lfs clean -- %f
9
+ smudge = git-lfs smudge -- %f
10
+ process = git-lfs filter-process
11
+ required = true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.6.42",
3
+ "version": "3.6.44",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {