Giter VIP home page Giter VIP logo

andle's Introduction

Hi there ๐Ÿ‘‹

Fun fact: Jintin but not Justin.

Jintin's github stats Top Langs

andle's People

Contributors

codacy-badger avatar jintin avatar kendrewlau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

andle's Issues

Gradle check does not take into account "distributionUrl: "

When checking for the latest version of Gradle the script does not ignore the "distributionUrl: " portion of the line, resulting in a false positive.

distributionUrl: https\://services.gradle.org/distributions/gradle-2.9-all.zip -> https\://services.gradle.org/distributions/gradle-2.9-all.zip

Check to see file exists

andle will fail if dependency path does not exist

file: andle/sdk.py
see the following lines

 40    ...
 41     find_dependency(data["dependency"], "", path + "/extras/android/m2repository")
 42     find_dependency(data["dependency"], "", path + "/extras/google/m2repository")
 43    ...

My configuration does not have "..../extras/google/m2repository"

It's a good idea to check if the path exists in find_dependency function before modifying anything in data

e.g.

 52 
 53 def find_dependency(data, tag, path):
 54     if os.path.exists(path):
 55         no_dir = True
 56         for f in os.listdir(path):
 57             if (os.path.isdir(path + "/" + f)):
 58                 no_dir = False
 59                 find_dependency(data, tag + "/" + f, path + "/" + f)
 60         if no_dir:
 61             list = tag[1:].split("/")
 62             version = list.pop(len(list) - 1)
 63             name = list.pop(len(list) - 1)
 64             package = ".".join(list)
 65 
 66             update_value(version, data, package + ":" + name)
 67 

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.