Skip to content

Quentinchampenois/overload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overload generator

Overload is a file generator for decidim-app applications entirely written in Rust.

Description

This script aims to generate a clean OVERLOADS.md file which references all non-official customizations made by Open Source Politics. It helps to follow which files are overwritten.

For each not registered files, script will find the hash commit which introduced this file with the commit title.

For each override, a new line is added to the overloads registry like following :

* <FILENAME>
`<COMMIT HASH> - <COMMIT TITLE>`

Note: Script deletes the overload registry and rewrite it, you can't edit manually the file since changes will be removed.

Overloads files must be present in Git history otherwise they won't be added in overloads generator

Getting started

Create a .overloadignore files with the exhaustive list of files which must be ignored by program.

  1. Run program
cargo run

Or use the binary :

  1. Compile program
cargo build --release
  1. Run the binary
target/release/overload

About

Overload file generator for Decidim applications

Resources

Stars

Watchers

Forks

Languages