pinokiod 3.19.115 → 3.19.117

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.
package/kernel/util.js CHANGED
@@ -680,7 +680,10 @@ const mergeLines = async (existingFilepath, filepath2) => {
680
680
 
681
681
  }
682
682
 
683
+ const ignore_subrepos = async (repos) => {
684
+ }
685
+
683
686
 
684
687
  module.exports = {
685
- parse_env, log_path, api_path, update_env, parse_env_detail, openfs, port_running, du, is_port_available, find_python, find_venv, fill_object, run, openURL, u2p, p2u, log, diffLinesWithContext, classifyChange, push, filepicker, exists, clipboard, mergeLines
688
+ parse_env, log_path, api_path, update_env, parse_env_detail, openfs, port_running, du, is_port_available, find_python, find_venv, fill_object, run, openURL, u2p, p2u, log, diffLinesWithContext, classifyChange, push, filepicker, exists, clipboard, mergeLines, ignore_subrepos
686
689
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.19.115",
3
+ "version": "3.19.117",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/server/index.js CHANGED
@@ -4960,6 +4960,15 @@ class Server {
4960
4960
  // await this.kernel.plugin.init()
4961
4961
  let c = this.kernel.path("api", req.params.name)
4962
4962
  let repos = await this.kernel.git.repos(c)
4963
+ console.log("repos", repos)
4964
+
4965
+ await Util.ignore_subrepos(c, repos)
4966
+
4967
+ // check if these are in the existing .git
4968
+ //
4969
+
4970
+
4971
+ // add all the repos folder to .gitignore (except for the root)
4963
4972
  let html = await new Promise((resolve, reject) => {
4964
4973
  ejs.renderFile(path.resolve(__dirname, "views/partials/repos.ejs"), { repos, ref: "HEAD" }, (err, html) => {
4965
4974
  resolve(html)