Check archival state of a source code repository and propose to update it if needed.
What is UpdateSWH?
UpdateSWH is a Firefox add-on that checks if a software development repository visited by the user is archived and up to date in Software Heritage. It provides a color button indicating the status of the repository, allowing easy access to the archive or triggering a save code request.
This extension checks if a software development repository visited by the user in a supported code hosting platform is archived and uptodate in Software Heritage. A color button on the right of the browser indicates if it is uptodate (green), in which case clicking on the button opens a tab on the corresponding page of the archive, missing (grey) or not up to date (yellow), in which case clicking on the button triggers a save code now request, and optionally shows the save request submitted to the Software Heritage archive.
A red color indicates that the API request of information for the repository did not succeed: this happens typically when one is visiting a repository that is not publicly accessible, and that naturally cannot be archived.
UpdateSWH is risky to use as it requires a number of sensitive permissions that can potentially harm your browser and steal your data. Exercise caution when installing this add-on. Review carefully before installing. We recommend that you only install UpdateSWH if you trust the publisher.
UpdateSWH is probably trust-worthy. Prefer other publishers if available. Exercise caution when installing this add-on.