Skip to content

Fetch, calculate and store #1

@Asifdotexe

Description

@Asifdotexe

The create a python script that can calculate the ratio of original vs. current code for a local repository.

Tasks

  • Initialize a python script that takes a local repo path as input
  • Use git blame or git log to extract the "Birth year" of every line in a file
  • Aggregate the data into a JSON structure should be something {"year": 2024, "lines_from_2020": 450, "total_lines": 1000}
  • Store the output in a data.json file.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions