[Replicant] Scripts patch serie

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Thu Mar 19 03:12:23 UTC 2020


Hi,

In addition to the patch that will follow in a response to
this mail, here's an URL to the see the patch in a web interface:
https://git.replicant.us/contrib/GNUtoo/vendor_replicant-scripts/commit/?id=bcd7913443ffcfc49401c41a13db4aa986022217

And here's how to get it in a git repository:
git clone https://git.replicant.us/GNUtoo/vendor_replicant-scripts
cd vendor_replicant-scripts
git show bcd7913443ffcfc49401c41a13db4aa986022217

The fun part is that this patch serie adds a script that
has been used to generate this mail, and send this patch
serie.

I also wonder if there is a better way to deal with scripts
as the vendor_replicant-scripts repository has scripts that
are specific to a given Replicant version, whereas some
other scripts aren't:
- One way to deal with that would be to make the scripts
  work accross different Replicant versions or reflect that
  in the script names.
- Another way would be to split this repository, but it would
  make the other scripts less visible.

It's messy because beside being 'compatible with a specific
Replicant version' there is no simple way to split the scripts.

For instance it cannot be splitted between script that are
useful to contribute to Replicant without using a deivce,
and scripts that are useful to use a device (including for
testing):
- screencap is useful for contributing to Replicant but
  it's specific to an Android version.
- The release scripts that are in a separate repository,
  and that is also specific to an Android version.
- The lineageos_wiki, wikidata and patches scripts are not
  tied to a specific Android version.
- Finally the display, modem, usb, and wifi scripts which are
  device specific are typically for Replicant usage and
  some of them are shipped on the devices.

The usb and screencap scripts probably also work partially
on the device, and partially on the host, so it makes a
potential disctinction based on that way less clear.

Denis.



More information about the Replicant mailing list