Giter Club home page Giter Club logo

occonfigcompare's Introduction

OCConfigCompare

Python script to compare two plists and list missing keys in either.

occonfigcompare's People

Contributors

corpnewt 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

occonfigcompare's Issues

Comparing arrays BUG

the user ary[0] vs the oc ary[0] = ok
the user ary[1] vs the oc ary[0] = no (the correct OC.plist ary index is 1)
the user ary[2] vs the oc ary[0] = no (the correct OC.plist ary index is 2)
image
the test files:
the OC config
the User config

OCConfigCompare need to improve.

even though this script work good but there one thing need to be fix which is involved in amd kernel patch (or Kernel patch). if the the current kernel patch have 22 Childs but you if only add 2 childs to kernel patch it will not tell you that u need to fix kernel b/c it's meet the requirement. take example the picture I show below or attachment to this post
Screen Shot 2023-09-25 at 6 02 32 PM
Screen Shot 2023-09-25 at 6 02 44 PM

Space in CLI arguments

When using CLI arguments, spaces are not handled correctly.
For example, my EFI partition is unlabelled and mounts as NO NAME:

$ ./OCConfigCompare.command -u /Volumes/NO\ NAME/EFI/OC/config.plist -s ~/Downloads/OpenCore-0.6.8-RELEASE/Docs/Sample.plist

usage: OCConfigCompare.py [-h] [-u USER_PLIST] [-s SAMPLE_PLIST]
OCConfigCompare.py: error: unrecognized arguments: NAME/EFI/OC/config.plist

Syntax Error while trying to execute OCConfingCompare.command

Hi, can you provide information on how to use this script?

File "/Users/user/Desktop/test/OCConfigCompare-master/OCConfigCompare.py", line 98
print("\nPlist failed to load: {}\n".format(e),timeout=5)
^
SyntaxError: invalid syntax
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

Plist faild to load

Tool used to work flawlessly until now. Getting Plist failed to load: __init__() got an unexpected keyword argument 'use_builtin_types' after downloading the latest Sample.plist

It also happens when downloading OC (https://github.com/acidanthera/OpenCorePkg/releases) manually and drag-dropping the plist into the terminal.

Using on OSX 11.6 (20G165)
OpenCore version 0.76

#######################################################
 #                 OC Config Compare                   #
#######################################################

Gathering latest Sample.plist from:
https://github.com/acidanthera/OpenCorePkg/raw/master/Docs/Sample.plist

Loading... 38.03 KB of 38.03 KB (100.00%)

Plist failed to load:  __init__() got an unexpected keyword argument 'use_builtin_types'

Press [enter] to return...

[Enhancement] Request to add this feature to ProperTree

Hi @corpnewt ,

First of all thanks for your incredible toolset. Many of them I use daily and admire your work in hackintosh field. It made so many task so much easier.

After seeing this new program of your one thought came to me, that it would be really great if
this can be integrated as new feature of ProperTree.

Again thanks for your tremendous work.

Regards,
Junaed

About SysReport missing

Hi,

Should SysReport be flagged as missing if is not supported in 0.5.9 release? OpenCore differences.pdf in part 8.4.6 is specified only for Debug build because of security reasons.

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.