Discover Packages
github.com/fossas/1to3
command
module
Version:
v0.0.0-...-23666ed
Opens a new window with list of versions in this module.
Published: May 11, 2022
License: MPL-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
README
README
¶
1to3
Utilities to help migrate from FOSSA CLI v1 to v3.
Installation
For now, you will need Go 1.17 installed on your machine.
git clone git@github.com:fossas/1to3.git
cd 1to3
go run main.go
Usage
# Example directory
$ tree
.
├── my-test-directory
│ ├── package.json
│ └── requirements.txt
└── src
└── Gemfile
2 directories, 3 files
# Targets detected by CLI v3
$ fossa list-targets
[ INFO] Found project: bundler@src/
[ INFO] Found target: bundler@src/
[ INFO] Found project: npm@my-test-directory/
[ INFO] Found target: npm@my-test-directory/
[ INFO] Found project: setuptools@my-test-directory/
[ INFO] Found target: setuptools@my-test-directory/
# Targets detected by CLI v1
$ fossa1.1.6 init
WARNING Filtering out suspicious module: my-test-directory (my-test-directory)
WARNING Filtering out suspicious module: my-test-directory (my-test-directory)
# Generated CLI v3 configuration block to exclude targets implicitly excluded by v1
$ fossa-1to3 targets
targets:
exclude:
- type: npm
path: my-test-directory
- type: pip
path: my-test-directory
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.