Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
120 commits
Select commit Hold shift + click to select a range
bae9cfd
External tool for logging in
shana Feb 23, 2018
66eb21e
Fix build and add dependencies of the tool
shana Feb 23, 2018
e3b86a7
Fix path to executable
shana Feb 23, 2018
2ede40f
Need to close after writing
shana Feb 23, 2018
92547ba
Make sure we're on tls 12
shana Feb 23, 2018
f76d78c
Cosmetic tweak
shana Feb 23, 2018
c14d3f5
Bump version to 0.27.0
shana Feb 23, 2018
86f2e23
Need to target 4.6 for mono to compile it
shana Feb 23, 2018
71be696
Merge branch 'fixes/tls12' into releases/0.27
shana Feb 23, 2018
9de6b3d
Make sure the build of OctoRun happens before the rest with the corre…
shana Feb 23, 2018
f3516a8
Bump version to 0.26.2
shana Feb 23, 2018
1b3720c
Merge branch 'fixes/tls12' into releases/0.26
shana Feb 23, 2018
2f6b28b
Place the tools in a known location independent of project
shana Feb 23, 2018
0c751ab
Merge branch 'fixes/tls12' into releases/0.26
shana Feb 23, 2018
85b11e7
Build octorun before anything else in appveyor
shana Feb 23, 2018
bfc3436
Call msbuild correctly, doh
shana Feb 23, 2018
0cf9c5c
Merge pull request #589 from github-for-unity/fixes/appveyor-build-oc…
shana Feb 23, 2018
5b5ca25
Fix breakage in process running
shana Feb 23, 2018
d2f70fd
Missed one
shana Feb 23, 2018
27c0b2b
Forward port tls12 hacky fix from releases/0.26 into a master-based b…
shana Feb 27, 2018
53de0aa
Initial project from 'yo nodejs-cli-typescript'
StanleyGoldman Feb 27, 2018
61d370b
Adding octokit
StanleyGoldman Feb 27, 2018
9f99333
Login command and Authenticator
StanleyGoldman Feb 27, 2018
83d8557
Merge branch 'fixes/tls12' into features/octorun-js
StanleyGoldman Feb 27, 2018
5f04860
A chunk of octorun that should work
StanleyGoldman Feb 27, 2018
67220c4
Changing package octokit/rest to a modified github@9.3.1
StanleyGoldman Feb 28, 2018
5a6e3ae
Changing to a modified @octokit/rest compiled for es3
StanleyGoldman Feb 28, 2018
0d3ca28
Let me stop here for a moment
StanleyGoldman Feb 28, 2018
204bb89
Changing package and providing polyfill
StanleyGoldman Mar 1, 2018
5b80d16
Adding a modern version of octorun
StanleyGoldman Mar 1, 2018
caf0961
I understand how i'm supposed to do this now
StanleyGoldman Mar 1, 2018
e52090a
I can two factor auth
StanleyGoldman Mar 1, 2018
4d28a19
Completed functionality to authenticate
StanleyGoldman Mar 1, 2018
0bfff09
Functionality to validate the user and get an organization list
StanleyGoldman Mar 1, 2018
30dd778
An orgs function that will paginate all pages
StanleyGoldman Mar 1, 2018
b80a021
Added functionality to publish a repo
StanleyGoldman Mar 1, 2018
831728b
Removing unused package
StanleyGoldman Mar 1, 2018
044e3ff
Functionality to submit Unity usage
StanleyGoldman Mar 1, 2018
71f2f64
Removing octorun-modern
StanleyGoldman Mar 1, 2018
70273de
Updating package name
StanleyGoldman Mar 1, 2018
119def3
Making package version exact
StanleyGoldman Mar 1, 2018
effa004
Initial hardcoding where to find octorun.js
StanleyGoldman Mar 2, 2018
1b094a1
Starting to call octorun in nodejs
StanleyGoldman Mar 2, 2018
732c521
Getting things working manually
StanleyGoldman Mar 5, 2018
76e34d4
Removing readline-sync
StanleyGoldman Mar 5, 2018
abcdb4a
Attempting to use LoginManager to run octorun
StanleyGoldman Mar 5, 2018
f09a668
Completed functionality to use octorun js
StanleyGoldman Mar 5, 2018
ff65115
Adding node_modules for safe keeping
StanleyGoldman Mar 5, 2018
9385c5b
Changes to octorun to take usage data as a file path
StanleyGoldman Mar 6, 2018
f12b92f
Functionality to submit Usage through NodeJS
StanleyGoldman Mar 6, 2018
8b22779
Updates to script output
StanleyGoldman Mar 6, 2018
97e9176
Adding an OctorunTask
StanleyGoldman Mar 6, 2018
1541ce0
Removing GitHubClient from various places
StanleyGoldman Mar 6, 2018
46ccb91
Functionality to validate a user's token
StanleyGoldman Mar 7, 2018
879e869
Making the success/failure status more explicit
StanleyGoldman Mar 7, 2018
6a96354
Completing ApiClient implementation
StanleyGoldman Mar 7, 2018
e63a914
Removing Octorun
StanleyGoldman Mar 7, 2018
be899c4
Removing octokit
StanleyGoldman Mar 7, 2018
b45a0f9
Removing a lot more octokit
StanleyGoldman Mar 7, 2018
ab6e27f
Removing more octokit
StanleyGoldman Mar 8, 2018
b0d59da
Merge remote-tracking branch 'remotes/origin/master' into features/oc…
StanleyGoldman Mar 8, 2018
f9d928c
Merge branch 'features/octorun-js' into fixes/remove-octokit-and-octorun
StanleyGoldman Mar 8, 2018
b31688a
Removing Octorun C#
StanleyGoldman Mar 8, 2018
76aaaef
Adapting to NPath changes
StanleyGoldman Mar 8, 2018
3533149
Dealing with a few more NPath changes
StanleyGoldman Mar 8, 2018
faa926e
Merge branch 'fixes/additional-npath-stuff' into features/octorun-js
StanleyGoldman Mar 8, 2018
7aa8034
Merge branch 'fixes/additional-npath-stuff' into features/octorun-js
StanleyGoldman Mar 8, 2018
6f5e920
Removing another octorun reference
StanleyGoldman Mar 8, 2018
fb3b542
Fixing another NPath usage
StanleyGoldman Mar 8, 2018
986f3ed
Merge branch 'features/octorun-js' into fixes/remove-octokit-and-octorun
StanleyGoldman Mar 8, 2018
03a7a7d
Another octorun vestige
StanleyGoldman Mar 8, 2018
92dbcc3
Merge branch 'features/octorun-js' into fixes/remove-octokit-and-octorun
StanleyGoldman Mar 8, 2018
eb93b0c
Removing the bits about OctokitDebugging
StanleyGoldman Mar 8, 2018
2ca473e
Merge branch 'master' into features/octorun-js
StanleyGoldman Mar 8, 2018
6362515
Merge branch 'features/octorun-js' into fixes/remove-octokit-and-octorun
StanleyGoldman Mar 8, 2018
4d5478f
Fixing import
StanleyGoldman Mar 8, 2018
fd678d6
Fixing NPath null check
StanleyGoldman Mar 8, 2018
c191f7e
Removing unused constructor
StanleyGoldman Mar 8, 2018
9abfede
Merge remote-tracking branch 'origin/shana/fix-npath-some-more' into …
StanleyGoldman Mar 8, 2018
be75a16
Removing unused import
StanleyGoldman Mar 8, 2018
d05f08b
Returning the clone_url instead of the git_url
StanleyGoldman Mar 8, 2018
0eb26a9
Merge branch 'master' into features/octorun-js
StanleyGoldman Mar 9, 2018
b634318
Escape command options
StanleyGoldman Mar 9, 2018
4a87176
Octorun user-agent changes
StanleyGoldman Mar 9, 2018
c5779ef
Getting better control over octorun's output
StanleyGoldman Mar 9, 2018
6843085
Adjustments to the output format
StanleyGoldman Mar 9, 2018
e9db741
Structures to capture the output from OctorunTask
StanleyGoldman Mar 9, 2018
33dabf1
Removing unused LastResultOutputProcessor
StanleyGoldman Mar 9, 2018
42f66f6
Fixing mispelling
StanleyGoldman Mar 9, 2018
7856043
Merge pull request #616 from github-for-unity/fixes/octorun-js-output
StanleyGoldman Mar 9, 2018
7860c08
Merge branch 'features/octorun-js' into fixes/remove-octokit-and-octorun
StanleyGoldman Mar 9, 2018
f071c49
Merge branch 'fixes/remove-octokit-and-octorun' into fixes/octorun-us…
StanleyGoldman Mar 9, 2018
b422312
Removing unintentional change
StanleyGoldman Mar 9, 2018
e90f82d
Merge branch 'fixes/remove-octokit-and-octorun' into fixes/octorun-us…
StanleyGoldman Mar 9, 2018
44796bc
Merge pull request #611 from github-for-unity/fixes/remove-octokit-an…
StanleyGoldman Mar 9, 2018
f8f1bfc
Merge branch 'master' into features/octorun-js
StanleyGoldman Mar 9, 2018
b7bb946
Merge branch 'features/octorun-js' into fixes/octorun-user-agent
StanleyGoldman Mar 9, 2018
c3b6370
Proving the user agent to octokit
StanleyGoldman Mar 9, 2018
a2c4b5c
Setting the working directory of octorun
StanleyGoldman Mar 9, 2018
45328a0
Merge branch 'fixes/octorun-js-working-directory' into fixes/octorun-…
StanleyGoldman Mar 9, 2018
bc30989
Correcting the path
StanleyGoldman Mar 9, 2018
c124acd
Merge branch 'fixes/octorun-js-working-directory' into fixes/octorun-…
StanleyGoldman Mar 9, 2018
30fcc90
Replacing IsCustom with IsTwoFactorRequired
StanleyGoldman Mar 9, 2018
ff0ae27
Returning IsLocked and IsBadCredentials
StanleyGoldman Mar 9, 2018
2f75f25
Merge branch 'fixes/octorun-is-custom' into fixes/octorun-refactor-au…
StanleyGoldman Mar 9, 2018
7c350d9
Refactoring authentication.js
StanleyGoldman Mar 9, 2018
887514f
Responding to error messages
StanleyGoldman Mar 9, 2018
8b9740d
Simplifying LoginManager
StanleyGoldman Mar 12, 2018
a4c6a31
Capturing response for enterprise workaround
StanleyGoldman Mar 12, 2018
548c4fd
Adding a field in Environment to locate Unity's content's path
StanleyGoldman Mar 12, 2018
7fe7205
Removing unintentional console log
StanleyGoldman Mar 12, 2018
f435e4d
Conslidating TryLogin and TryContinueLogin
StanleyGoldman Mar 12, 2018
a9d379d
Removing left over meta files
StanleyGoldman Mar 12, 2018
29b418d
Remove unintentional Parent
StanleyGoldman Mar 15, 2018
eaefb1d
Simplifying path expression
StanleyGoldman Mar 15, 2018
ca4f1e1
Correcting and simplifying another path expression
StanleyGoldman Mar 15, 2018
6789164
Merge pull request #626 from github-for-unity/fixes/octorun-refactor-…
StanleyGoldman Mar 15, 2018
c5d6949
Merge pull request #623 from github-for-unity/fixes/octorun-user-agent
StanleyGoldman Mar 15, 2018
76a10c5
Merge remote-tracking branch 'remotes/origin/features/octorun-js' int…
StanleyGoldman Mar 15, 2018
694dab1
Merge pull request #624 from github-for-unity/fixes/octorun-refactor-…
shana Mar 15, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 0 additions & 132 deletions GitHub.Unity.OctokitDebugging.sln

This file was deleted.

25 changes: 0 additions & 25 deletions common/build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -14,31 +14,6 @@
</ItemGroup>

<!-- Common includes and references -->
<Choose>
<When Condition="'$(SolutionType)' == 'OctokitDebugging'">
<ItemGroup>
<ProjectReference Include="$(SolutionDir)..\dotnet-httpclient35\System.Net.Http\System.Net.Http-net_3_5.csproj">
<Project>{9862694d-e4fa-418b-8692-a0280feddf36}</Project>
<Name>System.Net.Http-net_3_5</Name>
</ProjectReference>
<ProjectReference Include="$(SolutionDir)..\octokit.net\Octokit\Octokit-35.csproj">
<Project>{49ef16a2-5ed1-480f-80a1-d1d05d6c1be4}</Project>
<Name>Octokit-35</Name>
</ProjectReference>
</ItemGroup>
</When>
<Otherwise>
<ItemGroup>
<Reference Include="Octokit">
<HintPath>$(SolutionDir)lib\octokit.net\Octokit.dll</HintPath>
</Reference>
<Reference Include="System.Net.Http">
<HintPath>$(SolutionDir)lib\dotnet-httpclient35\DotNetHttp35.dll</HintPath>
</Reference>
</ItemGroup>
</Otherwise>
</Choose>

<Target Name="BeforeBuild">
<PropertyGroup>
<UnityDLLsMissingErrorText>Location of Unity dlls is not set. You'll need to install Unity in a known location (the default installation directory for your system), or copy UnityEngine.dll and UnityEditor.dll to the {0}lib folder</UnityDLLsMissingErrorText>
Expand Down
4 changes: 2 additions & 2 deletions common/properties.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Build flags -->
<PropertyGroup>
<SolutionType Condition="'$(SolutionName)' == 'GitHub.Unity.OctokitDebugging'">OctokitDebugging</SolutionType>
<BuildType Condition="Exists('$(SolutionDir)script\src\MetricsService.cs')">Internal</BuildType>

<UnityDir Condition="$(UnityDir) == '' and Exists('$(SolutionDir)\script\lib\UnityEditor.dll')">$(SolutionDir)\script\lib\</UnityDir>
<UnityDir Condition="$(UnityDir) == '' and Exists('$(SolutionDir)\lib\UnityEditor.dll')">$(SolutionDir)\lib\</UnityDir>
<UnityDir Condition="$(UnityDir) == '' and Exists('C:\Program Files\Unity\Editor\Data\Managed\UnityEditor.dll')">C:\Program Files\Unity\Editor\Data\Managed\</UnityDir>
<UnityDir Condition="$(UnityDir) == '' and Exists('C:\Program Files (x86)\Unity\Editor\Data\Managed\UnityEditor.dll')">C:\Program Files (x86)\Unity\Editor\Data\Managed\</UnityDir>
<UnityDir Condition="$(UnityDir) == '' and Exists('\Applications\Unity\Unity.app\Contents\Managed\UnityEditor.dll')">\Applications\Unity\Unity.app\Contents\Managed\</UnityDir>
<BuildConfig Condition=" '$(BuildConfig)' == '' ">Debug</BuildConfig>
<BuildConfig Condition=" '$(Configuration)' == 'dev'">Debug</BuildConfig>
<BuildConfig Condition=" '$(Configuration)' != 'dev'">$(Configuration)</BuildConfig>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
Expand Down
3 changes: 0 additions & 3 deletions lib/dotnet-httpClient35/DotNetHttp35.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/dotnet-httpClient35/DotNetHttp35.dll.mdb

This file was deleted.

2 changes: 0 additions & 2 deletions lib/dotnet-httpClient35/md5sums.txt

This file was deleted.

1 change: 0 additions & 1 deletion lib/dotnet-httpClient35/version.txt

This file was deleted.

3 changes: 0 additions & 3 deletions lib/octokit.net/Octokit.dll

This file was deleted.

3 changes: 0 additions & 3 deletions lib/octokit.net/Octokit.dll.mdb

This file was deleted.

2 changes: 0 additions & 2 deletions lib/octokit.net/md5sums.txt

This file was deleted.

1 change: 0 additions & 1 deletion lib/octokit.net/version.txt

This file was deleted.

5 changes: 5 additions & 0 deletions octorun/.env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
OCTOKIT_CLIENT_ID=
OCTOKIT_CLIENT_SECRET=
OCTOKIT_USER_AGENT=
OCTORUN_USER=
OCTORUN_TOKEN=
3 changes: 3 additions & 0 deletions octorun/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.env
node_modules
npm-debug.log
3 changes: 3 additions & 0 deletions octorun/bin/octorun
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../src/bin/app.js');
3 changes: 3 additions & 0 deletions octorun/bin/octorun-login
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../src/bin/app-login.js');
3 changes: 3 additions & 0 deletions octorun/bin/octorun-organizations
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../src/bin/app-organizations.js');
3 changes: 3 additions & 0 deletions octorun/bin/octorun-publish
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../src/bin/app-publish.js');
3 changes: 3 additions & 0 deletions octorun/bin/octorun-usage
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../src/bin/app-usage.js');
3 changes: 3 additions & 0 deletions octorun/bin/octorun-validate
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env node

require('../src/bin/app-validate.js');
Loading