Git Product home page Git Product logo

gsi-workshop's Introduction

Port OEM ROMs,Custom ROMs to project treble using github actions and ErfanGSIs then upload to sourceforge,github releases,artifacts,telegram & other file upload websites.

GSI-Workshop1 GSI-Workshop2 GSI-Workshop3 GSI-Workshop4


Features

  • Easy to use & understand.
  • Modular & fast so you can do whatever you want.
  • Customizable. Chose your own custom ErfanGSIs tool, chose build type (A only or AB or both), and many more.
  • Deploy ported GSI to sourceforge,github releases,artifacts,telegram & other file upload websites.
  • Send notifications on telegram with informations about the latest build.

Requirements

• If you want to port & upload GSI directly to your sourceforge project!

  • A little understanding on how to use ErfanGSIs tool.
  • A SourceForge account and project.
  • A little understanding on how SourceForge works and how to use it with sftp.

• If you want to port & upload GSI to file hosting websites

  • Scroll download & see website variables

• If you want to port & Upload GSI to github releases

  • PAT(Personal access token)

How To Use

  • Fork the repo.
  • Setup ErfanGSIs configuration in config.env. See ErfanGSIs Configuration.
  • Setup SourceForge credentials in github secrets. See SourceForge Configuration.
  • Go to actions tab, enable workflows.
  • Go to Actions tab again, click and run workflow manually.
  • It should take around 10-30 miniute to succesfully build and upload your builds to sourceforge.com.

How to update

  • Change ErfanGSIs configuration in config.env. ErfanGSIs Configuration.
  • Go to actions tab, click and run workflow manually.
  • It should take around 10 to succesfully build and upload your builds to sourceforge.com.

ErfanGSIs Configuration

All the settings for Erfan's tool is available by editing the config.env file.

Name Description Required
TOOL_REPO Repository from where to clone ErfanGSIs tool. Only change this if you are using a custom one.
URL Firmware download link or path on the repo.
FIRMWARE_TYPE Firmware type (eg: Pixel).
OUTPUT_TYPE Build type. Can be: "all" to build AB and AOnly; "ab" to build just AB; "a" to build just AOnly.
SF_DIR The directory on sourceforge. See: https://sourceforge.net/p/forge/documentation/SFTP/#for-managing-file-releases
CHAT_ID List of telegram chat id separated by space where to send info about the latest builds. Set to 0 to disable telegram notifications.
SF_URL Url to the sourceforge directory where the builds are uploaded. Used if telegram notifications are enabled.
EXTRA_ARGS Extra arguments to pass to url2GSI.sh script.

SourceForge Configuration

In order to connect to source forge you need some extra configuration variables in your repo secrets. See here.

Name Description
USERNAME SourceForge username.
PASSWORD SourceForge password.
TG_BOT_TOKEN Telegram Bot Token to send notification messages to. Used only if telegram notifications are enabled.

Mirror

You can change cloud for uploading your options are

config site name website
arp Airportal https://aitportal.cn/
bit bitSend https://bitsend.jp/
cat CatBox https://catbox.moe/
cow CowTransfer https://www.cowtransfer.com/
gof GoFile https://gofile.io/
tmp TmpLink https://tmp.link/
vim Vim-cn https://img.vim-cn.com/
wss WenShuShu https://www.wenshushu.cn/
wet WeTransfer https://wetransfer.com/
flk FileLink https://filelink.io/
trs Transfer.sh https://transfer.sh/
lzs Lanzous https://www.lanzous.com/

Credits


  • EfanGSIs for his GSI porting tool

  • Me for creating these workflows & upload system

gsi-workshop's People

Contributors

whyasif avatar xenontheinertg avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.