Skip to content

Commit

Permalink
chore: update dependencies, remove gitorious support, drop Node.js <= 17
Browse files Browse the repository at this point in the history
* Fix #57: Bump supported Node.js engine from 4.0.0 to 18.0.0

* Test & update some devDependencies

* Fix #58: Remove Gitorious features

* Restore missing close parens

* Fix #56: Deprecated package warnings

Note: some outstanding warnings due to cliffano/bagofrequest#6

* Update Node.js versions to test against

* Use 20.4 as the max test version since mock-fs currently fails on higher versions
(possible related to tschaub/mock-fs#377)

* Remove unused file with output of `npm ls --all`

* Update sinon & mock-fs versions
  • Loading branch information
stennie authored Oct 30, 2023
1 parent 56f1d53 commit 350b095
Show file tree
Hide file tree
Showing 11 changed files with 5,006 additions and 11,392 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 13.x, 14.x, 15.x]
node-version: [18.x, 20.4]

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 0 additions & 5 deletions conf/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,6 @@
"arg": "--github-use-ssh",
"desc": "Use the ssh url from Github instead of the standard clone url where possible"
},
{ "arg": "--gitorious-url <gitoriousUrl>", "desc": "Gitorious URL" },
{
"arg": "--gitorious-project <gitoriousProject>",
"desc": "Comma-separated Gitorious projects"
},
{
"arg": "--local",
"desc": "Create configuration file from local repositories"
Expand Down
5 changes: 0 additions & 5 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@ function _config(args) {
authPass: args.githubAuthPass,
useSsh: args.githubUseSsh
};
} else if (args.gitoriousUrl || args.gitoriousProject) {
opts.gitorious = {
url: args.gitoriousUrl,
project: args.gitoriousProject
};
} else if (args.local) {
opts.local = {
dir: process.cwd()
Expand Down
45 changes: 0 additions & 45 deletions lib/generator/gitorious.js

This file was deleted.

11 changes: 0 additions & 11 deletions lib/repoman.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ var fs = require('fs');
var fsx = require('fs.extra');
var Bitbucket = require('./generator/bitbucket');
var GitHub = require('./generator/github');
var Gitorious = require('./generator/gitorious');
var mustache = require('mustache');
var Local = require('./generator/local');
var p = require('path');
Expand Down Expand Up @@ -79,16 +78,6 @@ Repoman.prototype.config = function(opts, cb) {
opts.github.authPass,
opts.github.useSsh
);
} else if (opts.gitorious) {
console.log(
'Setting configuration file: %s, with Gitorious repositories',
CONFIG_FILE
);
var gitorious = new Gitorious(opts.gitorious.url);
gitorious.generate(
opts.gitorious.project ? opts.gitorious.project.split(',') : [],
_saveConfig
);
} else if (opts.local) {
console.log(
'Setting configuration file: %s, with local repositories',
Expand Down
Loading

0 comments on commit 350b095

Please sign in to comment.