Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ultralytics/source-trace
🔍 Ultralytics Source Trace: A tool for detecting and analyzing code duplication across Git repositories.
https://github.com/ultralytics/source-trace
agpl audit check code detection duplication ip license source trace track
Last synced: 3 months ago
JSON representation
🔍 Ultralytics Source Trace: A tool for detecting and analyzing code duplication across Git repositories.
- Host: GitHub
- URL: https://github.com/ultralytics/source-trace
- Owner: ultralytics
- License: agpl-3.0
- Created: 2024-04-07T15:00:45.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-26T14:03:41.000Z (5 months ago)
- Last Synced: 2024-08-26T16:30:42.135Z (5 months ago)
- Topics: agpl, audit, check, code, detection, duplication, ip, license, source, trace, track
- Language: Python
- Homepage: https://ultralytics.com
- Size: 38.1 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🛠 Ultralytics Source Trace
The `ultralytics/source-trace` repository is a specialized tool designed to analyze and report code duplication between different Git repositories. This project extends the principles of the standard Ultralytics Python project template by focusing on code integrity and tracking. It helps developers identify potentially copied code segments across repositories, providing detailed insights into the source, destination, and metadata associated with each duplication instance.
[![Ultralytics Actions](https://github.com/ultralytics/source-trace/actions/workflows/format.yml/badge.svg)](https://github.com/ultralytics/source-trace/actions/workflows/format.yml)
### Features 🌟
- **Detailed Comparison**: Generates a detailed report of lines of code from one repository found in another.
- **Comprehensive Statistics**: Provides statistics about the extent of code duplication, including metrics by file and author.
- **Metadata Tracking**: Each instance of duplication includes metadata like the author and the date of the commit.### Starting a New Analysis
To start using `source-trace`:
1. **Clone this Repository**: Clone `source-trace` to your local machine or server.
2. **Install Dependencies**: Run `pip install -r requirements.txt` to install required Python packages.
3. **Set Up Your Analysis**: Follow the documentation in the `docs/` directory to configure your comparison setup.
4. **Run the Tool**: Execute the scripts in the `src/` directory to begin the analysis.## 💡 Contribute
Ultralytics thrives on community collaboration; we immensely value your involvement! We urge you to peruse our [Contributing Guide](https://docs.ultralytics.com/help/contributing/) for detailed insights on how you can participate. Don't forget to share your feedback with us by contributing to our [Survey](https://www.ultralytics.com/survey?utm_source=github&utm_medium=social&utm_campaign=Survey). A heartfelt thank you 🙏 goes out to everyone who has already contributed!
## 📄 License
Ultralytics presents two distinct licensing paths to accommodate a variety of scenarios:
- **AGPL-3.0 License**: This official [OSI-approved](https://opensource.org/license) open-source license is perfectly aligned with the goals of students, enthusiasts, and researchers who believe in the virtues of open collaboration and shared wisdom. Details are available in the [LICENSE](https://github.com/ultralytics/ultralytics/blob/main/LICENSE) document.
- **Enterprise License**: Tailored for commercial deployment, this license authorizes the unfettered integration of Ultralytics software and AI models within commercial goods and services, without the copyleft stipulations of AGPL-3.0. Should your use case demand an enterprise solution, direct your inquiries to [Ultralytics Licensing](https://www.ultralytics.com/license).## 📮 Contact
For bugs or feature suggestions pertaining to Ultralytics, please lodge an issue via [GitHub Issues](https://github.com/ultralytics/source-trace/issues). You're also invited to participate in our [Discord](https://discord.com/invite/ultralytics) community to engage in discussions and seek advice!