Giter Club home page Giter Club logo

u3d's People

Contributors

diegotorressed avatar jlsalmon avatar lacostej avatar niezbop avatar tony-sumdog 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

u3d's Issues

unity appears to rewrite log file when using -logFile argument

running the Example2 leads to some weird lines added at the top of the editor AFTER process started:

Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools64/JobProcess
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler
Launching external process: /Applications/Unity_5.6.1f1/Unity.app/Contents/Tools/UnityShaderCompiler

Tested on Mac with Unity 5.6.1f1

Reported as 939108 on Unity side

Feature to compare logs

I often end up having to compare 2 logs to see what is going on.

I ported my sed script to ruby as a proof of what we could do to add it to u3d.

Given cleanlogs.rb

#!/usr/bin/env ruby

input = File.open(ARGV[0])

# matches will be replaced with their m.match(line).captures.join("...")
# until they stop matching or line is unchanged
transformers = [
  /(Using monoOptions .*address=0.0.0.0:)[0-9]+($)/,
  /(^).*( Unity\[).*(\] NSDocumentController Info.plist warning: The values of CFBundleTypeRole entries must be 'Editor', 'Viewer', 'None', or 'Shell'.)/,
  /(LICENSE SYSTEM \[).*(\] Next license update check is after) .*($)/,
  /(.*)[0-9]+\.[0-9]+ (seconds.*)/,
  /(OPENGL LOG: .* Context handle )[0-9]+($)/,
  /(.* )[0-9]+\.[0-9]+ (ms.*)/,
  /(Registered platform support modules in: )[0-9]+\.[0-9]+(s.*)/,
  /(System memory in use .*: )[0-9\.]+( MB.)/,
  /(Thread -> id: )\w+( -> priority: 1)/,
  /(\[00:00:00\] Enlighten: .*took )[0-9]+\.[0-9]+(s.*)/,
  /(Compiled shader .* in )[0-9]+\.[0-9]+(s.*)/,
  /(.* Completed 'Build.Player.MacStandaloneSupport' in )[0-9]+ (seconds )\([0-9]+ (ms)\)/,
  # ----- Total AssetImport time: 0.155424s, AssetImport time: 0.081042s, Asset hashing: 0.000000s [0 B, 0.000000 mb/s]
  /(.*AssetImport time: )[0-9]+\.[0-9]+(s.*)/
]

input.each_line do |line|
  transformers.each do |t|
    loop do
      a = t.match(line)
      break unless a
      newline = a.captures.join("...")
      break if line == newline # no change
      line = newline
    end
  end

  $stdout.puts line
end
#!/bin/bash
f1=$1
f2=$2
diff -u <(cleanlogs.rb "$f1") <(cleanlogs.rb "$f2") | less

u3d local_install broken on Mac

$ u3d local_install latest --trace
Root privileges are required
Password for lacostej:
*******
No credentials storage available
/Users/lacostej/Code/WWTK/u3d/lib/u3d/downloader.rb:99:in `block in local_files': private method `local_file' called for U3d::Downloader::MacDownloader:Class (NoMethodError)
Did you mean?  local_variables
	from /Users/lacostej/Code/WWTK/u3d/lib/u3d/downloader.rb:98:in `each'
	from /Users/lacostej/Code/WWTK/u3d/lib/u3d/downloader.rb:98:in `local_files'
	from /Users/lacostej/Code/WWTK/u3d/lib/u3d/commands.rb:143:in `local_install'
	from /Users/lacostej/Code/WWTK/u3d/lib/u3d/commands_generator.rb:139:in `block (2 levels) in run'
	from /Users/lacostej/.rvm/gems/ruby-2.3.3/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /Users/lacostej/.rvm/gems/ruby-2.3.3/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
	from /Users/lacostej/.rvm/gems/ruby-2.3.3/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
	from /Users/lacostej/.rvm/gems/ruby-2.3.3/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
	from /Users/lacostej/.rvm/gems/ruby-2.3.3/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
	from /Users/lacostej/Code/WWTK/u3d/lib/u3d/commands_generator.rb:161:in `run'
	from /Users/lacostej/Code/WWTK/u3d/lib/u3d/commands_generator.rb:37:in `start'
	from /Users/lacostej/Code/WWTK/u3d/exe/u3d:7:in `<top (required)>'
	from /Users/lacostej/.rvm/gems/ruby-2.3.3/bin/u3d:22:in `load'
	from /Users/lacostej/.rvm/gems/ruby-2.3.3/bin/u3d:22:in `<main>'
	from /Users/lacostej/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval'
	from /Users/lacostej/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>'

-logFile /dev/stdout not supported

Looking at using /dev/stdout as a workaround for #3, it is currently not supported.

$ u3d --trace -r -- -logFile /dev/stdout -executeMethod U3d.EditorRun.Build -quit -batchmode 
/Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/unity_runner.rb:34:in `delete': Permission denied @ unlink_internal - /dev/stdout (Errno::EACCES)
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/unity_runner.rb:34:in `run'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands.rb:207:in `run'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands_generator.rb:79:in `block (2 levels) in run'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands_generator.rb:160:in `run'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/lib/u3d/commands_generator.rb:36:in `start'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/gems/u3d-0.9.1/exe/u3d:7:in `<top (required)>'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/bin/u3d:23:in `load'
	from /Users/lacostej/.rvm/gems/ruby-2.1.1/bin/u3d:23:in `<main>'

Document installation path sanitization

Feedback:

When I run u3d list it first told me that it needed to move my 20 unity installations. Where does it
want to move them and why? They are currently all residing in the Applications folder as
"Unity5_3_8f2" and so on up to and including "Unity2017_1_f3". I couldn't find anywhere in the
readme where it wanted them to go.

Let's improve this:

  • update the README with why and how path sanitization works, interactive mode etc.
  • update inline help
  • maybe update u3d to point to README

Add a user configuration file

U3d allows for different behaviours, but many variables and parameters that would enable these behaviours are locked behind hard coding. A configuration file would allow every user to have u3d behaves closer to what he wants.

u3d run: -logFile /dev/stdout causes crashes on Linux

We've used File.file? checks to distinguish between /dev/* and standard files to avoid try to delete them.

This works fine on Mac. (Untested on Windows).

On Linux, while File.file? returns false under irb, for some reason, it returns true in unity_runner.rb. This causes it to try to delete the file and crashes:

/home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/unity_runner.rb:34:in `delete': Permission denied @ unlink_internal - /dev/stdout (Errno::EACCES)
        from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/unity_runner.rb:34:in `run'
        from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/commands.rb:214:in `run'
        from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/commands_generator.rb:79:in `block (2 levels) in run'
        from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
        from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
        from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
        from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
        from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
        from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/commands_generator.rb:160:in `run'
        from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/lib/u3d/commands_generator.rb:36:in `start'
        from /home/francoise/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/u3d-0.9.2/exe/u3d:7:in `<top (required)>'
        from /home/francoise/.rbenv/versions/2.4.1/bin/u3d:22:in `load'
        from /home/francoise/.rbenv/versions/2.4.1/bin/u3d:22:in `<main>'
Command exited with non-zero status 1

Even if we fix/workaround this, we end up in a stdout recursion in command_executor leading to infinite loop. (the stdin is read and loop written into). This is also due to #18.

So support for /dev/stdout on Linux isn't working at all right now. This needs to be revised. In the meantime, use u3d's own tail mechanism to capture the output.

Merge install and local_install commands

The code for install and local_install is almost the same. So similar that we should really consider merging it in a single command that does the following

u3d install --download=no/yes --install=no/yes

when used in --download=no mode, it only tries to install locally.
when used in --install=no mode, it only tries to download

Both options are yes by default.

You could use it in the following way:

On a machine:

u3d install --no-install v1,v2,v3,v4 -p x,y,z,t -p mac
rsync download -> remote

on server

u3d install --no-download v1,v2,v3,v4 -p x,y,z,t -p mac

Update: updated to reflect probable use of commander to achieve this

        c.option '--[no-]install', 'Enable/disable installation after download.'
        c.option '--[no-]download', 'No installation after download success'

[Feature request] List available packages

When installing there is no information what kind of packages can be installed with -p option.

It would be great if those could be listed either globally or package-by-package.

Force update option for cache

Use a [-f | --force_update] for the cache in u3d available so the user doesn't have to manually remove the cache to force an update.

Linux Unity_2017.2.0b2 installer failure

Failing to install Linux version.

Failed to install bash file at /home/USER/Downloads/Unity_Packages/2017.2.0b2/unity-editor-installer-2017.2.0b2.sh: Permission denied @ dir_s_mkdir - /opt/Unity_2017.2.0b2

See #20 for the PR to solve this.

Issue with using installer (error: undefined method `[]' for nil:NilClass.)

PS C:\Windows\system32> u3d install 2017.1.0f3 -p Unity,Android,Windows --trace
Root privileges are required
Unity is already downloaded
Android is already downloaded
C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:167:in `destination_for': undefined method `[]' for nil:NilClass (NoMethodError)
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:98:in `get_package'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:52:in `block in download_modules'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:51:in `each'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:51:in `download_modules'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/downloader.rb:40:in `fetch_modules'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/commands.rb:132:in `install'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/commands_generator.rb:147:in `block (2 levels) in run'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/commands_generator.rb:195:in `run'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/lib/u3d/commands_generator.rb:37:in `start'
        from C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/u3d-1.0.3/exe/u3d:7:in `<top (required)>'
        from C:/Ruby24-x64/bin/u3d:22:in `load'
        from C:/Ruby24-x64/bin/u3d:22:in `<main>'
PS C:\Windows\system32>

Ensure u3d works well on system ruby for latest mac os x

I saw a few potential issues

  • ruby 2.1 code while OS uses 2.0

E.g.

[17:40:26] Failure while trying to pipe /Users/lacostej/Library/Logs/Unity/Editor.log: undefined method `to_h' for #<Array:0x007fe67c968e98>
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/log_analyzer.rb:137:in `block (2 levels) in parse_line'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/log_analyzer.rb:132:in `each'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/log_analyzer.rb:132:in `block in parse_line'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/log_analyzer.rb:186:in `call'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/log_analyzer.rb:186:in `parse_line'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:41:in `block in run'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:105:in `call'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:105:in `block (2 levels) in start_tail_thread'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:124:in `block (2 levels) in pipe'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/file-tail-1.2.0/lib/file/tail.rb:209:in `call'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/file-tail-1.2.0/lib/file/tail.rb:209:in `read_line'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/file-tail-1.2.0/lib/file/tail.rb:181:in `block in tail'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/file-tail-1.2.0/lib/file/tail.rb:178:in `loop'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/file-tail-1.2.0/lib/file/tail.rb:178:in `tail'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:124:in `block in pipe'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:118:in `open'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:118:in `pipe'
[17:40:26]   /Library/Ruby/Gems/2.0.0/gems/u3d-1.0.5/lib/u3d/unity_runner.rb:105:in `block in start_tail_thread'
  • potential issue WRT openssl, and new mac os x settings (makes install harder than necessary)

Auto-sanitize Linux install names after install

$ u3d install 2017.1.0f3
File already downloaded at /home/XXXX/Downloads/Unity_Packages/2017.1.0f3/unity-editor-installer-2017.1.0xf3Linux.sh
  $ cd "/opt/"; /home/XXXX/Downloads/Unity_Packages/2017.1.0f3/unity-editor-installer-2017.1.0xf3Linux.sh
Installation successful
$ u3d list
1 Unity installation should be moved. Proceed? (y/n)
n
Version 5.1.0f3 (/opt/unity-editor-5.1.0f3)
Version 2017.1.0f3      (/opt/unity-editor-2017.1.0xf3Linux)
Version 2017.2.0b2      (/opt/unity-editor-2017.2.0b2)
francoise@oloron:~/Projects/u3d$ u3d list
1 Unity installation should be moved. Proceed? (y/n)
y
Moving /opt/unity-editor-2017.1.0xf3Linux to /opt/unity-editor-2017.1.0f3...

Installation stays in /Application/Unity when installing on OSX

When installing Unity version from u3d the installation stays in /Application/Unity and requires additional u3d loop in order for installation to be moved to proper versioned directory even though it asks for the elevated permissions.

No errors or warning are shown during the installation.

u3d/prettify: missing executeMethod failure / exception catching

This

InvalidOperationException: ParentFolder </Users/lacostej/Dropbox (WeWantToKnow)/WeWantToKnow Team Folder/WWTK-Assets/DB_SCHOOL/DownloadableDocs> doesn't exist. Please configure the exporter or use 'GYM_EXPORTER_PARENT_FOLDER' environment variable.
  at HubV2.ExporterPresentation.MakeHTMLPresentation (System.String _DirProduct, Language _language) [0x0005f] in /Users/lacostej/Code/WWTK/gym/Assets/Game/Hub_V2/Scripts/Exporter/Editor/ExporterPresentation.cs:121 
  at HubV2.ExporterPresentation.MakeHTMLPresentation_AY1 () [0x00007] in /Users/lacostej/Code/WWTK/gym/Assets/Game/Hub_V2/Scripts/Exporter/Editor/ExporterPresentation.cs:73 
 
(Filename: Assets/Game/Hub_V2/Scripts/Exporter/Editor/ExporterPresentation.cs Line: 121)

executeMethod method HubV2.ExporterPresentation.MakeHTMLPresentation_AY1 threw exception.
 
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Utilities/Argv.cpp Line: 171)


Aborting batchmode due to failure:
executeMethod method HubV2.ExporterPresentation.MakeHTMLPresentation_AY1 threw exception.

should result in 3 messages.

u3d/list doesn't list all installed Unity versions

Result (I have 3 other Unity versions installed):

Version 5.3.6f1                (/Applications/Unity_5.3.6f1/Unity.app)
error: Unity installation does not seem correct. Couldn't locate PlaybackEngines.. Use --trace to view backtrace

Directory listing:

drwxrwxr-x  7 root  admin  238 21 mar  2016 /Applications/Unity.bak
drwxrwxr-x  5 root  admin  170 19 lip 14:52 /Applications/Unity_2017.1.0f3
drwxrwxr-x  5 root  admin  170 18 sie 11:27 /Applications/Unity_5.3.6f1
drwxrwxr-x  9 root  admin  306 26 kwi 16:35 /Applications/Unity_5.6.0f3
drwxrwxr-x  5 root  admin  170 10 sie 13:09 /Applications/Unity_5.6.3f1

Note: Unity.bak doesn't affect the outcome. Removing it still doesn't resolve the issue

Trace:

/Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/installer.rb:76:in `packages': Unity installation does not seem correct. Couldn't locate PlaybackEngines. (RuntimeError)
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands.rb:53:in `block in list_installed'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands.rb:50:in `each'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands.rb:50:in `list_installed'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands_generator.rb:89:in `block (2 levels) in run'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/commander-4.4.3/lib/commander/command.rb:178:in `call'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/commander-4.4.3/lib/commander/command.rb:153:in `run'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/commander-4.4.3/lib/commander/runner.rb:446:in `run_active_command'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/commander-4.4.3/lib/commander/runner.rb:68:in `run!'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/commander-4.4.3/lib/commander/delegates.rb:15:in `run!'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands_generator.rb:160:in `run'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/lib/u3d/commands_generator.rb:36:in `start'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/gems/u3d-0.9.3/exe/u3d:7:in `<top (required)>'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/bin/u3d:22:in `load'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/bin/u3d:22:in `<main>'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `eval'
	from /Users/xlii/.rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:15:in `<main>'

Refactor the downloader/validator logic

After introducing the linux specific ways of managing corrupted downloads, I think we should try refactoring into a single downloader / validator logic even though the validation is platform specific.

Idea introduce a DownloadValidator class with platform specific implementations.

u3d run not getting project path automatically with some arguments

I'm in a Unity project, say Project.

When running .../Project>u3d run Unity launches with my project as projectpath.

When running .../Project>u3d run -- -runTests -testResults results.xml -testPlatform editmode no project path is passed to Unity.

NOTE: .../Project>u3d run -- -runTests -testResults results.xml -testPlatform editmode -projectPath <path to my project> works.

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.