Code Monkey home page Code Monkey logo

git-upm-publisher's Introduction

This package is deprecated in favor of git-upm-publisher-2.

The new package is written in Typescript. It is much more stable and doesn't have the annoying package resolution bugs of python.


git-upm-publisher

Automate UPM package releases for Git repositories containing Unity plugins.

Modules

  • config_maker.py: searches for package.json files within a repository, and saves the selected one to a config.json file
  • package_json_creator.py: creates a package.json file from scratch
  • package_json_updater.py: updates an existing package.json partially (or completely)
  • upm_publisher.py: automates the whole UPM publishing process explained here: https://www.patreon.com/posts/25070968
  • main.py: runs all the necessary modules in order, so you don't have to

Installation

https://pypi.org/project/git-upm-publisher/

pip install git-upm-publisher

Usage

Run gup in your command line.

Advanced

  • gup-main runs main (equaivalent of gup)
  • gup-config-maker runs config_maker
  • gup-package-json-creator runs package_json_creator
  • gup-package-json-updater runs package_json_updater
  • gup-upm-publisher runs upm_publisher

License

MIT license. Refer to the LICENSE file. Copyright (c) 2019 S. Tarık Çetin

This application uses git-snapshot command from mob-sakai. Take a look and give them some love.

git-upm-publisher's People

Contributors

starikcetin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

git-upm-publisher's Issues

Better config.json handling

Our way of handling config.json file is not friendly for project maintainers.

We should allow the project maintainers to execute the application on a specific folder. Then the program will search for a config.json file in that directory and act accordingly.

This will allow them to commit the config.json file to their own repositories and use the tool externally, targeting their project's config.json.

This might also be useful in the future if we decide to introduce support for multiple configs.

CLI

Allow the command to be run silently with parameters given.

GUI

Create a GUI for the whole application.

Better path handling

Our way of handling paths are very fragile. We need to create Path objects from the get-go and use them instead of passing around strings.

This will require a re-write of the Config module.

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.