From 33de35f1f3ce1da7993f2f406503d120ab73808b Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Tue, 26 Mar 2019 15:05:14 -0700 Subject: [PATCH 01/41] Change nugetpat --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d75fea3..4a47009 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -21,7 +21,7 @@ steps: displayName: 'VS IntelliNav Upload' inputs: vsckEndpoint: 'vscloudkernel-dev' - nugetpat: 'vscloudkernel-nuget' + nugetpat: 'vsck-nuget' language: 'typescript;csharp' githubpat: 'jumattos' nugetVersion: 'latest' \ No newline at end of file From c0cb487c1c08ea7bd0e2e07ceacd6d130e9a75c4 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Tue, 26 Mar 2019 15:19:17 -0700 Subject: [PATCH 02/41] Updating githubpat --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4a47009..afafa21 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -23,5 +23,5 @@ steps: vsckEndpoint: 'vscloudkernel-dev' nugetpat: 'vsck-nuget' language: 'typescript;csharp' - githubpat: 'jumattos' + githubpat: 'jumattos (1)' nugetVersion: 'latest' \ No newline at end of file From 90ddb1fb5bcc9658d876e8a367217b67f241503f Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Tue, 26 Mar 2019 16:09:34 -0700 Subject: [PATCH 03/41] Switch colon for comma --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index afafa21..44a25a9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -22,6 +22,6 @@ steps: inputs: vsckEndpoint: 'vscloudkernel-dev' nugetpat: 'vsck-nuget' - language: 'typescript;csharp' + language: 'typescript,csharp' githubpat: 'jumattos (1)' nugetVersion: 'latest' \ No newline at end of file From d26dc941a42011e250fd78ba8c7c0d4e6ce9830a Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas <45983213+jumattos@users.noreply.github.com> Date: Mon, 9 Sep 2019 16:43:00 -0700 Subject: [PATCH 04/41] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines-1.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 azure-pipelines-1.yml diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml new file mode 100644 index 0000000..79b3f23 --- /dev/null +++ b/azure-pipelines-1.yml @@ -0,0 +1,13 @@ +trigger: +- master + +pool: + vmImage: 'windows-latest' + +steps: +- task: RichCodeNavIndexer@0 + continueOnError: true + inputs: + serviceConnection: 'Rich Code Nav' + githubServiceConnection: 'GitHub' + languages: 'typescript,csharp,java' From e534dbec3ca00634eeb08abc58b770a8119254c8 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Mon, 9 Sep 2019 16:47:28 -0700 Subject: [PATCH 05/41] Update azure pipeline --- azure-pipelines-1.yml | 13 ------------- azure-pipelines.yml | 36 ++++++++++++------------------------ 2 files changed, 12 insertions(+), 37 deletions(-) delete mode 100644 azure-pipelines-1.yml diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml deleted file mode 100644 index 79b3f23..0000000 --- a/azure-pipelines-1.yml +++ /dev/null @@ -1,13 +0,0 @@ -trigger: -- master - -pool: - vmImage: 'windows-latest' - -steps: -- task: RichCodeNavIndexer@0 - continueOnError: true - inputs: - serviceConnection: 'Rich Code Nav' - githubServiceConnection: 'GitHub' - languages: 'typescript,csharp,java' diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 44a25a9..0943df1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,27 +1,15 @@ -# Starter pipeline -# Start with a minimal pipeline that you can customize to build and deploy your code. -# Add steps that build, run tests, deploy, and more: -# https://aka.ms/yaml +trigger: +- master -steps: -- script: echo Hello, world! - displayName: 'Run a one-line script' - -- script: | - echo Add other tasks to build, test, and deploy your project. - echo See https://aka.ms/yaml - displayName: 'Run a multi-line script' +pool: + vmImage: 'windows-latest' -- task: DotNetCoreInstaller@0 - displayName: 'Use .NET Core sdk 2.1.300' - inputs: - version: 2.1.300 - -- task: vsintellinav.vsck-service-endpoint.build-task.upload-cache-build-task@0 - displayName: 'VS IntelliNav Upload' +steps: +- task: RichCodeNavIndexer@0 + continueOnError: true inputs: - vsckEndpoint: 'vscloudkernel-dev' - nugetpat: 'vsck-nuget' - language: 'typescript,csharp' - githubpat: 'jumattos (1)' - nugetVersion: 'latest' \ No newline at end of file + serviceConnection: 'Rich Code Nav' + githubServiceConnection: 'GitHub' + languages: 'typescript,csharp,java' + isPrivateFeed: true + environment: development From 0dd8ff5e4ec723e86e83ba4cc8b259e650919f65 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Mon, 9 Sep 2019 16:48:47 -0700 Subject: [PATCH 06/41] remove pipeline --- azure-pipelines.yml | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 0943df1..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,15 +0,0 @@ -trigger: -- master - -pool: - vmImage: 'windows-latest' - -steps: -- task: RichCodeNavIndexer@0 - continueOnError: true - inputs: - serviceConnection: 'Rich Code Nav' - githubServiceConnection: 'GitHub' - languages: 'typescript,csharp,java' - isPrivateFeed: true - environment: development From 82f62303a3fa12c92ae26b1dc64042d0fb8ebaf1 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas <45983213+jumattos@users.noreply.github.com> Date: Mon, 9 Sep 2019 16:49:07 -0700 Subject: [PATCH 07/41] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..0943df1 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,15 @@ +trigger: +- master + +pool: + vmImage: 'windows-latest' + +steps: +- task: RichCodeNavIndexer@0 + continueOnError: true + inputs: + serviceConnection: 'Rich Code Nav' + githubServiceConnection: 'GitHub' + languages: 'typescript,csharp,java' + isPrivateFeed: true + environment: development From b6cf4ac376280d070866626bace597cfc83b397f Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas <45983213+jumattos@users.noreply.github.com> Date: Mon, 9 Sep 2019 16:55:29 -0700 Subject: [PATCH 08/41] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0943df1..e7e860d 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -6,10 +6,8 @@ pool: steps: - task: RichCodeNavIndexer@0 - continueOnError: true inputs: serviceConnection: 'Rich Code Nav' - githubServiceConnection: 'GitHub' languages: 'typescript,csharp,java' - isPrivateFeed: true - environment: development + githubServiceConnection: 'GitHub' + environment: 'development' \ No newline at end of file From 6cdc4419bb23450fd30ffa6cb251f9406c513c91 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Mon, 9 Sep 2019 16:58:04 -0700 Subject: [PATCH 09/41] aaaaah --- azure-pipelines.yml | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index e7e860d..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,13 +0,0 @@ -trigger: -- master - -pool: - vmImage: 'windows-latest' - -steps: -- task: RichCodeNavIndexer@0 - inputs: - serviceConnection: 'Rich Code Nav' - languages: 'typescript,csharp,java' - githubServiceConnection: 'GitHub' - environment: 'development' \ No newline at end of file From 74aaf8f5e86975f6ad8c97e3865429ac036c1afe Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas <45983213+jumattos@users.noreply.github.com> Date: Mon, 9 Sep 2019 16:59:52 -0700 Subject: [PATCH 10/41] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..4d76d19 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,14 @@ +trigger: + branches: + include: ["master", "*"] + +pool: + vmImage: 'windows-latest' + +steps: +- task: RichCodeNavIndexer@0 + inputs: + serviceConnection: 'Rich Code Nav' + languages: 'csharp,typescript,java' + githubServiceConnection: 'GitHub' + environment: 'development' \ No newline at end of file From ea00ce494702a2239f8c619e3ab61da411250662 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas <45983213+jumattos@users.noreply.github.com> Date: Mon, 9 Sep 2019 17:16:38 -0700 Subject: [PATCH 11/41] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4d76d19..7f626ef 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,8 +2,8 @@ trigger: branches: include: ["master", "*"] -pool: - vmImage: 'windows-latest' +queue: + name: VSEng-MicroBuildVS2019 steps: - task: RichCodeNavIndexer@0 From ec933f3badc3e83a5ced966de49217744a9bdd33 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas <45983213+jumattos@users.noreply.github.com> Date: Mon, 9 Sep 2019 17:26:32 -0700 Subject: [PATCH 12/41] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7f626ef..d9b9576 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,8 +2,8 @@ trigger: branches: include: ["master", "*"] -queue: - name: VSEng-MicroBuildVS2019 +pool: + vmImage: 'vs2017-win2016' steps: - task: RichCodeNavIndexer@0 From 5387aa480ee791708e93aaec1a8764c62d70059a Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas <45983213+jumattos@users.noreply.github.com> Date: Tue, 10 Sep 2019 09:45:29 -0700 Subject: [PATCH 13/41] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d9b9576..4b6afde 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,6 +2,11 @@ trigger: branches: include: ["master", "*"] +pr: + branches: + include: + - '*' + pool: vmImage: 'vs2017-win2016' From f94ed07376c6fc3abab21ac54f121b393ceead52 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas <45983213+jumattos@users.noreply.github.com> Date: Tue, 10 Sep 2019 11:09:56 -0700 Subject: [PATCH 14/41] Delete azure-pipelines.yml --- azure-pipelines.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 4b6afde..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,19 +0,0 @@ -trigger: - branches: - include: ["master", "*"] - -pr: - branches: - include: - - '*' - -pool: - vmImage: 'vs2017-win2016' - -steps: -- task: RichCodeNavIndexer@0 - inputs: - serviceConnection: 'Rich Code Nav' - languages: 'csharp,typescript,java' - githubServiceConnection: 'GitHub' - environment: 'development' \ No newline at end of file From 5494ae2796d286a31a6308f627eb2065987b71e5 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas <45983213+jumattos@users.noreply.github.com> Date: Tue, 10 Sep 2019 11:39:44 -0700 Subject: [PATCH 15/41] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..7c7d1d2 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,19 @@ +pr: + branches: + include: + - master + - '*' + +pool: + vmImage: 'vs2017-win2016' + +steps: +- task: RichCodeNavIndexer@0 + inputs: + serviceConnection: 'Rich Code Nav' + languages: 'csharp,typescript,java' + githubServiceConnection: 'GitHub' + nugetFeed: 'https://pkgs.dev.azure.com/jumattos/_packaging/rich-code-nav-dev/nuget/v3/index.json' + nugetVersion: '0.1.1099-alpha' + environment: 'development' + isPrivateFeed: true \ No newline at end of file From 3f114917c56c6e76ca27b236d73d26dde4ddf19d Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas <45983213+jumattos@users.noreply.github.com> Date: Tue, 10 Sep 2019 14:57:46 -0700 Subject: [PATCH 16/41] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7c7d1d2..e351350 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,8 +12,8 @@ steps: inputs: serviceConnection: 'Rich Code Nav' languages: 'csharp,typescript,java' - githubServiceConnection: 'GitHub' + githubServiceConnection: 'jumattos' nugetFeed: 'https://pkgs.dev.azure.com/jumattos/_packaging/rich-code-nav-dev/nuget/v3/index.json' + isPrivateFeed: true nugetVersion: '0.1.1099-alpha' - environment: 'development' - isPrivateFeed: true \ No newline at end of file + environment: 'development' \ No newline at end of file From 0615c0fd847f71e57a072ff71d4104029888b1df Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Wed, 11 Sep 2019 09:00:13 -0700 Subject: [PATCH 17/41] Remove pipeline (old) --- azure-pipelines.yml | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index e351350..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,19 +0,0 @@ -pr: - branches: - include: - - master - - '*' - -pool: - vmImage: 'vs2017-win2016' - -steps: -- task: RichCodeNavIndexer@0 - inputs: - serviceConnection: 'Rich Code Nav' - languages: 'csharp,typescript,java' - githubServiceConnection: 'jumattos' - nugetFeed: 'https://pkgs.dev.azure.com/jumattos/_packaging/rich-code-nav-dev/nuget/v3/index.json' - isPrivateFeed: true - nugetVersion: '0.1.1099-alpha' - environment: 'development' \ No newline at end of file From 80727d5b378dca8315650092ecd6046d9c3978f1 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Wed, 11 Sep 2019 15:15:59 -0700 Subject: [PATCH 18/41] C# version of dialog --- csharp/src/Dialog.cs | 14 ++++++++++++++ csharp/src/Program.cs | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 csharp/src/Dialog.cs diff --git a/csharp/src/Dialog.cs b/csharp/src/Dialog.cs new file mode 100644 index 0000000..2b3a69a --- /dev/null +++ b/csharp/src/Dialog.cs @@ -0,0 +1,14 @@ +using System; + +namespace game +{ + class Dialog: Interactive + { + public Dialog(): base(){} + + public void interact() + { + Console.WriteLine("Interacting with dialog"); + } + } +} \ No newline at end of file diff --git a/csharp/src/Program.cs b/csharp/src/Program.cs index 0613f9c..4455afc 100644 --- a/csharp/src/Program.cs +++ b/csharp/src/Program.cs @@ -8,6 +8,9 @@ static void Main(string[] args) { Interactive block = new GameObject(10, 10); block.interact(); + + Interactive dialog = new Dialog(); + dialog.interact(); } } } From a654483a2f2d45a0e8b01440d83d51ca297a2eee Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Wed, 9 Oct 2019 17:01:17 -0700 Subject: [PATCH 19/41] pls --- csharp/src/Dialog.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/csharp/src/Dialog.cs b/csharp/src/Dialog.cs index 2b3a69a..0b383ab 100644 --- a/csharp/src/Dialog.cs +++ b/csharp/src/Dialog.cs @@ -6,6 +6,7 @@ class Dialog: Interactive { public Dialog(): base(){} + // An interaction public void interact() { Console.WriteLine("Interacting with dialog"); From dbfa8f7de93d8857edefbfb280b28e7de47ab9e2 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Thu, 10 Oct 2019 14:39:52 -0700 Subject: [PATCH 20/41] change --- csharp/src/Dialog.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/csharp/src/Dialog.cs b/csharp/src/Dialog.cs index 0b383ab..2b3a69a 100644 --- a/csharp/src/Dialog.cs +++ b/csharp/src/Dialog.cs @@ -6,7 +6,6 @@ class Dialog: Interactive { public Dialog(): base(){} - // An interaction public void interact() { Console.WriteLine("Interacting with dialog"); From 4a213bdfe000d0a251c28b2a48aaa154de3c5ea8 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Thu, 10 Oct 2019 14:50:26 -0700 Subject: [PATCH 21/41] change --- csharp/src/Dialog.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/csharp/src/Dialog.cs b/csharp/src/Dialog.cs index 2b3a69a..570a311 100644 --- a/csharp/src/Dialog.cs +++ b/csharp/src/Dialog.cs @@ -8,6 +8,7 @@ public Dialog(): base(){} public void interact() { + // Change Console.WriteLine("Interacting with dialog"); } } From 5f58b736adc390c7b64b54797dd9ae8987d80611 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Thu, 10 Oct 2019 15:06:02 -0700 Subject: [PATCH 22/41] change --- csharp/src/Dialog.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/csharp/src/Dialog.cs b/csharp/src/Dialog.cs index 570a311..2b3a69a 100644 --- a/csharp/src/Dialog.cs +++ b/csharp/src/Dialog.cs @@ -8,7 +8,6 @@ public Dialog(): base(){} public void interact() { - // Change Console.WriteLine("Interacting with dialog"); } } From 8b54f6f3b4d5f653b2bac61d67c7cb89bf282fb8 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Fri, 11 Oct 2019 12:07:26 -0700 Subject: [PATCH 23/41] change --- csharp/src/Dialog.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/csharp/src/Dialog.cs b/csharp/src/Dialog.cs index 2b3a69a..198faa4 100644 --- a/csharp/src/Dialog.cs +++ b/csharp/src/Dialog.cs @@ -8,6 +8,7 @@ public Dialog(): base(){} public void interact() { + // change Console.WriteLine("Interacting with dialog"); } } From 639abda1b50306880c70ef9e675aa62729adfbe5 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Fri, 18 Oct 2019 13:38:21 -0700 Subject: [PATCH 24/41] Remove C# dialog --- csharp/src/Dialog.cs | 15 --------------- csharp/src/Program.cs | 3 --- 2 files changed, 18 deletions(-) delete mode 100644 csharp/src/Dialog.cs diff --git a/csharp/src/Dialog.cs b/csharp/src/Dialog.cs deleted file mode 100644 index 198faa4..0000000 --- a/csharp/src/Dialog.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System; - -namespace game -{ - class Dialog: Interactive - { - public Dialog(): base(){} - - public void interact() - { - // change - Console.WriteLine("Interacting with dialog"); - } - } -} \ No newline at end of file diff --git a/csharp/src/Program.cs b/csharp/src/Program.cs index 4455afc..0613f9c 100644 --- a/csharp/src/Program.cs +++ b/csharp/src/Program.cs @@ -8,9 +8,6 @@ static void Main(string[] args) { Interactive block = new GameObject(10, 10); block.interact(); - - Interactive dialog = new Dialog(); - dialog.interact(); } } } From c4b506a67dcac58c81ebaf2ae69f9a4f273969ea Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Wed, 23 Oct 2019 15:36:59 -0700 Subject: [PATCH 25/41] Add build status to README --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f11631a..f24037f 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,13 @@ -[![Build Status](https://dev.azure.com/jumattos/Tester-Game/_apis/build/status/jumattos.tester-game?branchName=master)](https://dev.azure.com/jumattos/Tester-Game/_build/latest?definitionId=1&branchName=master) +# Build Status -A game written for testing purposes. +## DEV + +[![Build Status](https://dev.azure.com/jumattos/Tester-Game/_apis/build/status/GitHub/DEV?branchName=master)](https://dev.azure.com/jumattos/Tester-Game/_build/latest?definitionId=10&branchName=master) + +## INT + +[![Build Status](https://dev.azure.com/jumattos/Tester-Game/_apis/build/status/GitHub/INT?branchName=master)](https://dev.azure.com/jumattos/Tester-Game/_build/latest?definitionId=13&branchName=master) + +## PROD + +[![Build Status](https://dev.azure.com/jumattos/Tester-Game/_apis/build/status/GitHub/PROD?branchName=master)](https://dev.azure.com/jumattos/Tester-Game/_build/latest?definitionId=11&branchName=master) From ada8f126063bce3a6c72e8caf70d661a5ea9b3d6 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Thu, 24 Oct 2019 14:16:05 -0700 Subject: [PATCH 26/41] Add known issues --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f24037f..2da2fb2 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,19 @@ -# Build Status +# tester-game -## DEV +## Build Status + +### DEV [![Build Status](https://dev.azure.com/jumattos/Tester-Game/_apis/build/status/GitHub/DEV?branchName=master)](https://dev.azure.com/jumattos/Tester-Game/_build/latest?definitionId=10&branchName=master) -## INT +### INT [![Build Status](https://dev.azure.com/jumattos/Tester-Game/_apis/build/status/GitHub/INT?branchName=master)](https://dev.azure.com/jumattos/Tester-Game/_build/latest?definitionId=13&branchName=master) -## PROD +### PROD [![Build Status](https://dev.azure.com/jumattos/Tester-Game/_apis/build/status/GitHub/PROD?branchName=master)](https://dev.azure.com/jumattos/Tester-Game/_build/latest?definitionId=11&branchName=master) + +## Known issues + +Java project is missing pom.xml/build.gradle file From ebce3e8e4e243880eb2ed881cb567847428a6ba4 Mon Sep 17 00:00:00 2001 From: Jullyana Mattos Vycas Date: Fri, 24 Jan 2020 16:02:28 -0800 Subject: [PATCH 27/41] New block! --- typescript/src/App.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/typescript/src/App.ts b/typescript/src/App.ts index 84fa7ad..90c4ea7 100644 --- a/typescript/src/App.ts +++ b/typescript/src/App.ts @@ -5,6 +5,9 @@ class App { main(): void { let block: Interactive = new GameObject(10, 10); block.interact(); + + let otherBlock: Interactive = new GameObject(5, 5); + otherBlock.interact(); } } From 000410e94bd9b4b5b5f0c7f4aa8532fd0eb396c5 Mon Sep 17 00:00:00 2001 From: Tina Chen Date: Wed, 18 Mar 2020 16:57:14 -0700 Subject: [PATCH 28/41] Sync to azure devops --- .gitignore | 3 + .vscode/launch.json | 24 --- .vscode/tasks.json | 14 -- README.md | 21 +-- azure-pipelines-dev.yml | 36 ++++ azure-pipelines-int.yml | 35 ++++ azure-pipelines-prod.yml | 35 ++++ cpp.lsifsample/README.md | Bin 0 -> 22 bytes cpp.lsifsample/Test.cpp | 16 ++ cpp.lsifsample/Test.sln | 31 ++++ cpp.lsifsample/Test.vcxproj | 160 ++++++++++++++++++ cpp.lsifsample/Test.vcxproj.filters | 25 +++ cpp.lsifsample/Test2.cpp | 3 + cpp.lsifsample/yarn.lock | 4 + java.lsifsample/.classpath | 44 +++++ java.lsifsample/.project | 23 +++ .../org.eclipse.core.resources.prefs | 4 + .../.settings/org.eclipse.jdt.apt.core.prefs | 2 + .../.settings/org.eclipse.jdt.core.prefs | 7 + .../.settings/org.eclipse.m2e.core.prefs | 4 + java.lsifsample/pom.xml | 75 ++++++++ .../src/main/java/com/test/sort/App.java | 25 +++ .../src/test/java/com/test/sort/AppTest.java | 20 +++ .../target/classes/com/test/sort/App.class | Bin 0 -> 541 bytes .../classes/com/test/sort/SomeSort.class | Bin 0 -> 1139 bytes .../test-classes/com/test/sort/AppTest.class | Bin 0 -> 473 bytes 26 files changed, 559 insertions(+), 52 deletions(-) delete mode 100644 .vscode/launch.json delete mode 100644 .vscode/tasks.json create mode 100644 azure-pipelines-dev.yml create mode 100644 azure-pipelines-int.yml create mode 100644 azure-pipelines-prod.yml create mode 100644 cpp.lsifsample/README.md create mode 100644 cpp.lsifsample/Test.cpp create mode 100644 cpp.lsifsample/Test.sln create mode 100644 cpp.lsifsample/Test.vcxproj create mode 100644 cpp.lsifsample/Test.vcxproj.filters create mode 100644 cpp.lsifsample/Test2.cpp create mode 100644 cpp.lsifsample/yarn.lock create mode 100644 java.lsifsample/.classpath create mode 100644 java.lsifsample/.project create mode 100644 java.lsifsample/.settings/org.eclipse.core.resources.prefs create mode 100644 java.lsifsample/.settings/org.eclipse.jdt.apt.core.prefs create mode 100644 java.lsifsample/.settings/org.eclipse.jdt.core.prefs create mode 100644 java.lsifsample/.settings/org.eclipse.m2e.core.prefs create mode 100644 java.lsifsample/pom.xml create mode 100644 java.lsifsample/src/main/java/com/test/sort/App.java create mode 100644 java.lsifsample/src/test/java/com/test/sort/AppTest.java create mode 100644 java.lsifsample/target/classes/com/test/sort/App.class create mode 100644 java.lsifsample/target/classes/com/test/sort/SomeSort.class create mode 100644 java.lsifsample/target/test-classes/com/test/sort/AppTest.class diff --git a/.gitignore b/.gitignore index 041046f..28fbe09 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ +.vscode/ +.vs/ + # C# csharp/bin/* csharp/obj/* diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 8617098..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - // Use IntelliSense to learn about possible attributes. - // Hover to view descriptions of existing attributes. - // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "type": "node", - "request": "launch", - "name": "TypeScript", - "program": "${workspaceFolder}/typescript/lib/App.js", - "outFiles": [ - "${workspaceFolder}/typescript/lib/**/*.js" - ], - "sourceMaps": true, - }, - { - "type": "java", - "request": "launch", - "name": "Java", - "mainClass": "App", - } - ] -} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 3639f24..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "java", - "type": "shell", - "command": "javac ${workspaceFolder}/java/src/*.java -d ${workspaceFolder}/java/lib/", - "group": "build", - "problemMatcher": [] - } - ] -} \ No newline at end of file diff --git a/README.md b/README.md index 2da2fb2..cc19d9d 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,12 @@ -# tester-game +# Rich Code Navigation Indexed Code Samples -## Build Status +This is a sample code base used to validate Rich Code Nav indexing against DEV, INT, and PROD environments. -### DEV - -[![Build Status](https://dev.azure.com/jumattos/Tester-Game/_apis/build/status/GitHub/DEV?branchName=master)](https://dev.azure.com/jumattos/Tester-Game/_build/latest?definitionId=10&branchName=master) - -### INT - -[![Build Status](https://dev.azure.com/jumattos/Tester-Game/_apis/build/status/GitHub/INT?branchName=master)](https://dev.azure.com/jumattos/Tester-Game/_build/latest?definitionId=13&branchName=master) - -### PROD - -[![Build Status](https://dev.azure.com/jumattos/Tester-Game/_apis/build/status/GitHub/PROD?branchName=master)](https://dev.azure.com/jumattos/Tester-Game/_build/latest?definitionId=11&branchName=master) +## Validation steps +1. Push any commit to any branch to trigger the build, typically a trivial comment change. +1. Monitor the indexing task and make sure the build succeeded. +1. Use the [Rich Nav chrome extension](https://chrome.google.com/webstore/detail/intellinav/dpafdcoicfffinjoondenocgljiaepfj) to validate code navigation on the commit that was indexed against the target environment. ## Known issues -Java project is missing pom.xml/build.gradle file +"java" project is missing pom.xml/build.gradle file diff --git a/azure-pipelines-dev.yml b/azure-pipelines-dev.yml new file mode 100644 index 0000000..aeebc77 --- /dev/null +++ b/azure-pipelines-dev.yml @@ -0,0 +1,36 @@ +# Runs weekly or after every push to all branches to validate indexing against development environment + +trigger: + branches: + include: ["master", "*"] + paths: + exclude: ["doc", "*.md"] + +schedules: +- cron: "0 15 * * Wed" # Wed @ 8 or 9 AM Mountain Time (depending on DST) + displayName: Weekly Development Environment Validation Run + branches: + include: + - master + always: true + +queue: + name: Hosted VS2017 + timeoutInMinutes: 60 + +steps: +- task: NodeTool@0 + displayName: 'Use Node 10.x' + inputs: + versionSpec: 10.x + +- task: MS-RichCodeNav.Indexer.build-task.RichCodeNavIndexer@0 + displayName: Rich Code Navigation Upload to Development + inputs: + serviceConnection: 'richCodeNav-Token-Dev' + languages: 'csharp,typescript,java,cpp' + nugetFeed: 'https://devdiv.pkgs.visualstudio.com/Personal/_packaging/richnav/nuget/v3/index.json' + isPrivateFeed: true + nugetVersion: '0.1.1382-alpha' + environment: development + continueOnError: true diff --git a/azure-pipelines-int.yml b/azure-pipelines-int.yml new file mode 100644 index 0000000..655634d --- /dev/null +++ b/azure-pipelines-int.yml @@ -0,0 +1,35 @@ +# Runs weekly or after every push to all branches to validate indexing against staging/production environments + +trigger: + branches: + include: ["master", "*"] + paths: + exclude: ["doc", "*.md"] + +schedules: +- cron: "0 15 * * Wed" # Wed @ 8 or 9 AM Mountain Time (depending on DST) + displayName: Weekly Staging Environment Validation Run + branches: + include: + - master + always: true + +queue: + name: Hosted VS2017 + timeoutInMinutes: 60 + +steps: +- task: NodeTool@0 + displayName: 'Use Node 10.x' + inputs: + versionSpec: 10.x + +- task: MS-RichCodeNav.Indexer.build-task.RichCodeNavIndexer@0 + displayName: Rich Code Navigation Upload to Staging + inputs: + serviceConnection: 'richCodeNav-Token-Int' + languages: 'csharp,typescript,java,cpp' + environment: staging + isPrivateFeed: false + continueOnError: true + diff --git a/azure-pipelines-prod.yml b/azure-pipelines-prod.yml new file mode 100644 index 0000000..e262ecf --- /dev/null +++ b/azure-pipelines-prod.yml @@ -0,0 +1,35 @@ +# Runs weekly or after every push to all branches to validate indexing against staging/production environments + +trigger: + branches: + include: ["master", "*"] + paths: + exclude: ["doc", "*.md"] + +schedules: +- cron: "0 15 * * Wed" # Wed @ 8 or 9 AM Mountain Time (depending on DST) + displayName: Weekly Production Environment Validation Run + branches: + include: + - master + always: true + +queue: + name: Hosted VS2017 + timeoutInMinutes: 60 + +steps: +- task: NodeTool@0 + displayName: 'Use Node 10.x' + inputs: + versionSpec: 10.x + +- task: MS-RichCodeNav.Indexer.build-task.RichCodeNavIndexer@0 + displayName: Rich Code Navigation Upload to Production + inputs: + serviceConnection: 'richCodeNav-Token-Prod' + languages: 'csharp,typescript,java,cpp' + environment: production + isPrivateFeed: false + continueOnError: true + diff --git a/cpp.lsifsample/README.md b/cpp.lsifsample/README.md new file mode 100644 index 0000000000000000000000000000000000000000..70e867e8683ca33b7f4319e08e1b5862ac063789 GIT binary patch literal 22 dcmezWPnki1A%r27p_rkBL6^ahftP`c0RTr@1Xch5 literal 0 HcmV?d00001 diff --git a/cpp.lsifsample/Test.cpp b/cpp.lsifsample/Test.cpp new file mode 100644 index 0000000..5affa67 --- /dev/null +++ b/cpp.lsifsample/Test.cpp @@ -0,0 +1,16 @@ +// declaration 1 +void func(); + +int main() +{ + // reference 1 + func(); + // reference 2 + func(); +} + +// definition +void func() {} + +// declaration 2 +void func(); diff --git a/cpp.lsifsample/Test.sln b/cpp.lsifsample/Test.sln new file mode 100644 index 0000000..969d73b --- /dev/null +++ b/cpp.lsifsample/Test.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.28223.51 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test", "Test.vcxproj", "{30BD441C-AD0F-4DDA-8DEB-8E3128A2B3C7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {30BD441C-AD0F-4DDA-8DEB-8E3128A2B3C7}.Debug|x64.ActiveCfg = Debug|x64 + {30BD441C-AD0F-4DDA-8DEB-8E3128A2B3C7}.Debug|x64.Build.0 = Debug|x64 + {30BD441C-AD0F-4DDA-8DEB-8E3128A2B3C7}.Debug|x86.ActiveCfg = Debug|Win32 + {30BD441C-AD0F-4DDA-8DEB-8E3128A2B3C7}.Debug|x86.Build.0 = Debug|Win32 + {30BD441C-AD0F-4DDA-8DEB-8E3128A2B3C7}.Release|x64.ActiveCfg = Release|x64 + {30BD441C-AD0F-4DDA-8DEB-8E3128A2B3C7}.Release|x64.Build.0 = Release|x64 + {30BD441C-AD0F-4DDA-8DEB-8E3128A2B3C7}.Release|x86.ActiveCfg = Release|Win32 + {30BD441C-AD0F-4DDA-8DEB-8E3128A2B3C7}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {39B6110D-D7F7-4B02-83EE-9FF7CBC06647} + EndGlobalSection +EndGlobal diff --git a/cpp.lsifsample/Test.vcxproj b/cpp.lsifsample/Test.vcxproj new file mode 100644 index 0000000..846357b --- /dev/null +++ b/cpp.lsifsample/Test.vcxproj @@ -0,0 +1,160 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 15.0 + {30BD441C-AD0F-4DDA-8DEB-8E3128A2B3C7} + Win32Proj + Test + 10.0.17134.0 + + + + Application + true + v141 + Unicode + + + Application + false + v141 + true + Unicode + + + Application + true + v141 + Unicode + + + Application + false + v141 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + true + + + false + + + false + + + + NotUsing + Level3 + Disabled + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + pch.h + + + Console + true + + + + + NotUsing + Level3 + Disabled + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + pch.h + + + Console + true + + + + + NotUsing + Level3 + MaxSpeed + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + pch.h + + + Console + true + true + true + + + + + NotUsing + Level3 + MaxSpeed + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + pch.h + + + Console + true + true + true + + + + + + + + + + \ No newline at end of file diff --git a/cpp.lsifsample/Test.vcxproj.filters b/cpp.lsifsample/Test.vcxproj.filters new file mode 100644 index 0000000..8f93125 --- /dev/null +++ b/cpp.lsifsample/Test.vcxproj.filters @@ -0,0 +1,25 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;hpp;hxx;hm;inl;inc;ipp;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms + + + + + Source Files + + + Source Files + + + \ No newline at end of file diff --git a/cpp.lsifsample/Test2.cpp b/cpp.lsifsample/Test2.cpp new file mode 100644 index 0000000..64e2bc9 --- /dev/null +++ b/cpp.lsifsample/Test2.cpp @@ -0,0 +1,3 @@ +int i; +double d; +bool b; diff --git a/cpp.lsifsample/yarn.lock b/cpp.lsifsample/yarn.lock new file mode 100644 index 0000000..fb57ccd --- /dev/null +++ b/cpp.lsifsample/yarn.lock @@ -0,0 +1,4 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + diff --git a/java.lsifsample/.classpath b/java.lsifsample/.classpath new file mode 100644 index 0000000..71f5fef --- /dev/null +++ b/java.lsifsample/.classpath @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/java.lsifsample/.project b/java.lsifsample/.project new file mode 100644 index 0000000..e8e728c --- /dev/null +++ b/java.lsifsample/.project @@ -0,0 +1,23 @@ + + + sortApp + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + diff --git a/java.lsifsample/.settings/org.eclipse.core.resources.prefs b/java.lsifsample/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..f9fe345 --- /dev/null +++ b/java.lsifsample/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +encoding//src/main/java=UTF-8 +encoding//src/test/java=UTF-8 +encoding/=UTF-8 diff --git a/java.lsifsample/.settings/org.eclipse.jdt.apt.core.prefs b/java.lsifsample/.settings/org.eclipse.jdt.apt.core.prefs new file mode 100644 index 0000000..d4313d4 --- /dev/null +++ b/java.lsifsample/.settings/org.eclipse.jdt.apt.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.apt.aptEnabled=false diff --git a/java.lsifsample/.settings/org.eclipse.jdt.core.prefs b/java.lsifsample/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..1eb325e --- /dev/null +++ b/java.lsifsample/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 +org.eclipse.jdt.core.compiler.compliance=1.7 +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.processAnnotations=disabled +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.7 diff --git a/java.lsifsample/.settings/org.eclipse.m2e.core.prefs b/java.lsifsample/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/java.lsifsample/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/java.lsifsample/pom.xml b/java.lsifsample/pom.xml new file mode 100644 index 0000000..ed2f930 --- /dev/null +++ b/java.lsifsample/pom.xml @@ -0,0 +1,75 @@ + + + + 4.0.0 + + com.test.sort + sortApp + 1.0-SNAPSHOT + + sortApp + + http://www.example.com + + + UTF-8 + 1.7 + 1.7 + + + + + junit + junit + 4.11 + test + + + + + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-compiler-plugin + 3.8.0 + + + maven-surefire-plugin + 2.22.1 + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + maven-site-plugin + 3.7.1 + + + maven-project-info-reports-plugin + 3.0.0 + + + + + diff --git a/java.lsifsample/src/main/java/com/test/sort/App.java b/java.lsifsample/src/main/java/com/test/sort/App.java new file mode 100644 index 0000000..f72a225 --- /dev/null +++ b/java.lsifsample/src/main/java/com/test/sort/App.java @@ -0,0 +1,25 @@ +package com.test.sort; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} + +public class SomeSort implements SortAlgorithm { + @Override + public > T[] sort(T[] array) { + } + + public static void main(String[] args) { + SomeSort pancakeSort = new SomeSort(); + pancakeSort.sort(arr); + } +} + diff --git a/java.lsifsample/src/test/java/com/test/sort/AppTest.java b/java.lsifsample/src/test/java/com/test/sort/AppTest.java new file mode 100644 index 0000000..542596a --- /dev/null +++ b/java.lsifsample/src/test/java/com/test/sort/AppTest.java @@ -0,0 +1,20 @@ +package com.test.sort; + +import static org.junit.Assert.assertTrue; + +import org.junit.Test; + +/** + * Unit test for simple App. + */ +public class AppTest +{ + /** + * Rigorous Test :-) + */ + @Test + public void shouldAnswerWithTrue() + { + assertTrue( true ); + } +} diff --git a/java.lsifsample/target/classes/com/test/sort/App.class b/java.lsifsample/target/classes/com/test/sort/App.class new file mode 100644 index 0000000000000000000000000000000000000000..cb9ad5e53d4c3e90fab2a589cf9f545f635f1ccd GIT binary patch literal 541 zcmZvZJ4*vW5Xb+U*F8MV%fz=PR*8jISXe{^5yaw9ArcF#&1H!j?ry`~M(|^4pldv!1d)^NOL&Z}*4|+V7Y5bSW z=_i>mRK0(LJJdAfGGeH=9=$n0SI06McG^7)WmFAR7Vx?+i58)Qb<_w=O^CEM6HDdZ zky4Xh@UUZIgTc8LL7*BBDh>us8(Y{huuU}6X^R2}yVzqe#%Yg$sA{ccPz256Vfvya z%nWu{O=4eM$#fwmt@k(`g(e7=z5&S4iS|dYx15PeQUlPoD|11;s-g-g-{L4s3KRjMk!qyUF3l~BaN**J--U3+CaLH%V& zAi#iKF`44aWj+Fm-}cEdo-Aw%iFjAR*AhWh#4=hhlq!BxhJ@3ocA#B({~ z#FMI6cx5zCtr^BLaUC91!>Q!yY#6JE`{PvdvkZ7LbDj?+AIY)O1fVom-f{Cu^RbF$ zP|fn(k0-_|KTUWfv^M#J1*JD!a*G zYEM9JmP(tacmfnug|(N`&V^NiiVOl&uv)_vTw~a1_RibX_g3jiH)~_PM-{%EB|~Y$ z>=8qwXCe_Fo`Renmi$yXhOORm&AOyVRvg2V=HNG?1M0l68E&_A$vH!{uO?dfnI-a_ z-LTVH3a}f7-M#K!b3l75GZkzx%>OL&nacmW|5R=wl%^TJQ0}6y72IWb`S;xZNk)dC zZ)P@W_Li|8rfRz2UtggB8Ka@LAN%@FJNE;ro^(9DE+`{eCTy`$xa%Ty`W{!}t6mc)-zK;jA0}pAH2#5ay3hXm9 literal 0 HcmV?d00001 diff --git a/java.lsifsample/target/test-classes/com/test/sort/AppTest.class b/java.lsifsample/target/test-classes/com/test/sort/AppTest.class new file mode 100644 index 0000000000000000000000000000000000000000..8c114014e32db4765ad2fa6cccc783264f4258e5 GIT binary patch literal 473 zcmZvY%}xR_6opTRfzfdk{{CK7bEp zyaOa`*xcLGbMv+5{{DUc02rVbz+>p7X33q*9nXz*JYKCvBm(#hjfHpVf(#qX3RQi`=2LH}XWrzw6BUDjis3%IxhhjOAb|fa5WN0QP71>x=RqE}f@8&9J z=q7s~A2PJ_xhb+~tn+tiUzD4VY(cQzQ=y$&%CX87(PFKQ6HXaTuts9+j4ulMA1@;e zLp0G2&?0N+#Ca~Qi_pOtLnzj2!}j~HWu)-g6gHLjs{DMkUB`8~30#13)9L_^PL!8w zK#Egm)T>vYIQUrGA=T0bLL5!H4#YEUmh19H|N{|l!(P)MVoFg{v) KVO?@Poc{xq2w*P& literal 0 HcmV?d00001 From 5c2b752f4da06bf020fffeb4d661eeef467a8aa1 Mon Sep 17 00:00:00 2001 From: Tina Chen Date: Wed, 18 Mar 2020 17:05:44 -0700 Subject: [PATCH 29/41] Sync to azure repo --- .gitignore | 339 +++++++++++++++++- README.md | 4 - azure-pipelines-dev.yml | 1 + azure-pipelines-int.yml | 1 + azure-pipelines-prod.yml | 1 + {cpp.lsifsample => cpp}/README.md | Bin {cpp.lsifsample => cpp}/Test.cpp | 0 {cpp.lsifsample => cpp}/Test.sln | 0 {cpp.lsifsample => cpp}/Test.vcxproj | 0 {cpp.lsifsample => cpp}/Test.vcxproj.filters | 0 {cpp.lsifsample => cpp}/Test2.cpp | 0 {cpp.lsifsample => cpp}/yarn.lock | 0 java.lsifsample/.project | 23 -- .../org.eclipse.core.resources.prefs | 4 - .../.settings/org.eclipse.jdt.apt.core.prefs | 2 - .../.settings/org.eclipse.jdt.core.prefs | 7 - .../.settings/org.eclipse.m2e.core.prefs | 4 - .../target/classes/com/test/sort/App.class | Bin 541 -> 0 bytes .../classes/com/test/sort/SomeSort.class | Bin 1139 -> 0 bytes .../test-classes/com/test/sort/AppTest.class | Bin 473 -> 0 bytes {java.lsifsample => java}/.classpath | 0 {java.lsifsample => java}/pom.xml | 0 java/src/App.java | 8 - java/src/Drawable.java | 4 - java/src/GameObject.java | 20 -- java/src/Interactive.java | 4 - .../src/main/java/com/test/sort/App.java | 0 .../src/test/java/com/test/sort/AppTest.java | 0 28 files changed, 334 insertions(+), 88 deletions(-) rename {cpp.lsifsample => cpp}/README.md (100%) rename {cpp.lsifsample => cpp}/Test.cpp (100%) rename {cpp.lsifsample => cpp}/Test.sln (100%) rename {cpp.lsifsample => cpp}/Test.vcxproj (100%) rename {cpp.lsifsample => cpp}/Test.vcxproj.filters (100%) rename {cpp.lsifsample => cpp}/Test2.cpp (100%) rename {cpp.lsifsample => cpp}/yarn.lock (100%) delete mode 100644 java.lsifsample/.project delete mode 100644 java.lsifsample/.settings/org.eclipse.core.resources.prefs delete mode 100644 java.lsifsample/.settings/org.eclipse.jdt.apt.core.prefs delete mode 100644 java.lsifsample/.settings/org.eclipse.jdt.core.prefs delete mode 100644 java.lsifsample/.settings/org.eclipse.m2e.core.prefs delete mode 100644 java.lsifsample/target/classes/com/test/sort/App.class delete mode 100644 java.lsifsample/target/classes/com/test/sort/SomeSort.class delete mode 100644 java.lsifsample/target/test-classes/com/test/sort/AppTest.class rename {java.lsifsample => java}/.classpath (100%) rename {java.lsifsample => java}/pom.xml (100%) delete mode 100644 java/src/App.java delete mode 100644 java/src/Drawable.java delete mode 100644 java/src/GameObject.java delete mode 100644 java/src/Interactive.java rename {java.lsifsample => java}/src/main/java/com/test/sort/App.java (100%) rename {java.lsifsample => java}/src/test/java/com/test/sort/AppTest.java (100%) diff --git a/.gitignore b/.gitignore index 28fbe09..bfb15f2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,13 +1,336 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + .vscode/ + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Files created by azure-pipelines-task-lib +*.taskkey + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Oo]ut/ + +# Visual Studio 2015/2017 cache/options directory .vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +launchSettings.json + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +#*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs +.gradle/ +.project +.settings/ + +#Generated files created by LSIFLanguageServers building test-assets +*.class + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ +package-lock.json + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush +.cr/ + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ -# C# -csharp/bin/* -csharp/obj/* -csharp/.vs/* +# Azure Stream Analytics local run output +ASALocalRun/ -# TypeScript -typescript/lib +# MSBuild Binary and Structured Log +*.binlog -# Java -java/lib \ No newline at end of file +# NVidia Nsight GPU debugger configuration file +*.nvuser \ No newline at end of file diff --git a/README.md b/README.md index cc19d9d..0c80b62 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,3 @@ This is a sample code base used to validate Rich Code Nav indexing against DEV, 1. Push any commit to any branch to trigger the build, typically a trivial comment change. 1. Monitor the indexing task and make sure the build succeeded. 1. Use the [Rich Nav chrome extension](https://chrome.google.com/webstore/detail/intellinav/dpafdcoicfffinjoondenocgljiaepfj) to validate code navigation on the commit that was indexed against the target environment. - -## Known issues - -"java" project is missing pom.xml/build.gradle file diff --git a/azure-pipelines-dev.yml b/azure-pipelines-dev.yml index aeebc77..73e9f49 100644 --- a/azure-pipelines-dev.yml +++ b/azure-pipelines-dev.yml @@ -29,6 +29,7 @@ steps: inputs: serviceConnection: 'richCodeNav-Token-Dev' languages: 'csharp,typescript,java,cpp' + githubServiceConnection: 'github-oauth' nugetFeed: 'https://devdiv.pkgs.visualstudio.com/Personal/_packaging/richnav/nuget/v3/index.json' isPrivateFeed: true nugetVersion: '0.1.1382-alpha' diff --git a/azure-pipelines-int.yml b/azure-pipelines-int.yml index 655634d..213931a 100644 --- a/azure-pipelines-int.yml +++ b/azure-pipelines-int.yml @@ -29,6 +29,7 @@ steps: inputs: serviceConnection: 'richCodeNav-Token-Int' languages: 'csharp,typescript,java,cpp' + githubServiceConnection: 'github-oauth' environment: staging isPrivateFeed: false continueOnError: true diff --git a/azure-pipelines-prod.yml b/azure-pipelines-prod.yml index e262ecf..ce3b449 100644 --- a/azure-pipelines-prod.yml +++ b/azure-pipelines-prod.yml @@ -29,6 +29,7 @@ steps: inputs: serviceConnection: 'richCodeNav-Token-Prod' languages: 'csharp,typescript,java,cpp' + githubServiceConnection: 'github-oauth' environment: production isPrivateFeed: false continueOnError: true diff --git a/cpp.lsifsample/README.md b/cpp/README.md similarity index 100% rename from cpp.lsifsample/README.md rename to cpp/README.md diff --git a/cpp.lsifsample/Test.cpp b/cpp/Test.cpp similarity index 100% rename from cpp.lsifsample/Test.cpp rename to cpp/Test.cpp diff --git a/cpp.lsifsample/Test.sln b/cpp/Test.sln similarity index 100% rename from cpp.lsifsample/Test.sln rename to cpp/Test.sln diff --git a/cpp.lsifsample/Test.vcxproj b/cpp/Test.vcxproj similarity index 100% rename from cpp.lsifsample/Test.vcxproj rename to cpp/Test.vcxproj diff --git a/cpp.lsifsample/Test.vcxproj.filters b/cpp/Test.vcxproj.filters similarity index 100% rename from cpp.lsifsample/Test.vcxproj.filters rename to cpp/Test.vcxproj.filters diff --git a/cpp.lsifsample/Test2.cpp b/cpp/Test2.cpp similarity index 100% rename from cpp.lsifsample/Test2.cpp rename to cpp/Test2.cpp diff --git a/cpp.lsifsample/yarn.lock b/cpp/yarn.lock similarity index 100% rename from cpp.lsifsample/yarn.lock rename to cpp/yarn.lock diff --git a/java.lsifsample/.project b/java.lsifsample/.project deleted file mode 100644 index e8e728c..0000000 --- a/java.lsifsample/.project +++ /dev/null @@ -1,23 +0,0 @@ - - - sortApp - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.m2e.core.maven2Builder - - - - - - org.eclipse.jdt.core.javanature - org.eclipse.m2e.core.maven2Nature - - diff --git a/java.lsifsample/.settings/org.eclipse.core.resources.prefs b/java.lsifsample/.settings/org.eclipse.core.resources.prefs deleted file mode 100644 index f9fe345..0000000 --- a/java.lsifsample/.settings/org.eclipse.core.resources.prefs +++ /dev/null @@ -1,4 +0,0 @@ -eclipse.preferences.version=1 -encoding//src/main/java=UTF-8 -encoding//src/test/java=UTF-8 -encoding/=UTF-8 diff --git a/java.lsifsample/.settings/org.eclipse.jdt.apt.core.prefs b/java.lsifsample/.settings/org.eclipse.jdt.apt.core.prefs deleted file mode 100644 index d4313d4..0000000 --- a/java.lsifsample/.settings/org.eclipse.jdt.apt.core.prefs +++ /dev/null @@ -1,2 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.apt.aptEnabled=false diff --git a/java.lsifsample/.settings/org.eclipse.jdt.core.prefs b/java.lsifsample/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 1eb325e..0000000 --- a/java.lsifsample/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,7 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 -org.eclipse.jdt.core.compiler.compliance=1.7 -org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning -org.eclipse.jdt.core.compiler.processAnnotations=disabled -org.eclipse.jdt.core.compiler.release=disabled -org.eclipse.jdt.core.compiler.source=1.7 diff --git a/java.lsifsample/.settings/org.eclipse.m2e.core.prefs b/java.lsifsample/.settings/org.eclipse.m2e.core.prefs deleted file mode 100644 index f897a7f..0000000 --- a/java.lsifsample/.settings/org.eclipse.m2e.core.prefs +++ /dev/null @@ -1,4 +0,0 @@ -activeProfiles= -eclipse.preferences.version=1 -resolveWorkspaceProjects=true -version=1 diff --git a/java.lsifsample/target/classes/com/test/sort/App.class b/java.lsifsample/target/classes/com/test/sort/App.class deleted file mode 100644 index cb9ad5e53d4c3e90fab2a589cf9f545f635f1ccd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 541 zcmZvZJ4*vW5Xb+U*F8MV%fz=PR*8jISXe{^5yaw9ArcF#&1H!j?ry`~M(|^4pldv!1d)^NOL&Z}*4|+V7Y5bSW z=_i>mRK0(LJJdAfGGeH=9=$n0SI06McG^7)WmFAR7Vx?+i58)Qb<_w=O^CEM6HDdZ zky4Xh@UUZIgTc8LL7*BBDh>us8(Y{huuU}6X^R2}yVzqe#%Yg$sA{ccPz256Vfvya z%nWu{O=4eM$#fwmt@k(`g(e7=z5&S4iS|dYx15PeQUlPoD|11;s-g-g-{L4s3KRjMk!qyUF3l~BaN**J--U3+CaLH%V& zAi#iKF`44aWj+Fm-}cEdo-Aw%iFjAR*AhWh#4=hhlq!BxhJ@3ocA#B({~ z#FMI6cx5zCtr^BLaUC91!>Q!yY#6JE`{PvdvkZ7LbDj?+AIY)O1fVom-f{Cu^RbF$ zP|fn(k0-_|KTUWfv^M#J1*JD!a*G zYEM9JmP(tacmfnug|(N`&V^NiiVOl&uv)_vTw~a1_RibX_g3jiH)~_PM-{%EB|~Y$ z>=8qwXCe_Fo`Renmi$yXhOORm&AOyVRvg2V=HNG?1M0l68E&_A$vH!{uO?dfnI-a_ z-LTVH3a}f7-M#K!b3l75GZkzx%>OL&nacmW|5R=wl%^TJQ0}6y72IWb`S;xZNk)dC zZ)P@W_Li|8rfRz2UtggB8Ka@LAN%@FJNE;ro^(9DE+`{eCTy`$xa%Ty`W{!}t6mc)-zK;jA0}pAH2#5ay3hXm9 diff --git a/java.lsifsample/target/test-classes/com/test/sort/AppTest.class b/java.lsifsample/target/test-classes/com/test/sort/AppTest.class deleted file mode 100644 index 8c114014e32db4765ad2fa6cccc783264f4258e5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 473 zcmZvY%}xR_6opTRfzfdk{{CK7bEp zyaOa`*xcLGbMv+5{{DUc02rVbz+>p7X33q*9nXz*JYKCvBm(#hjfHpVf(#qX3RQi`=2LH}XWrzw6BUDjis3%IxhhjOAb|fa5WN0QP71>x=RqE}f@8&9J z=q7s~A2PJ_xhb+~tn+tiUzD4VY(cQzQ=y$&%CX87(PFKQ6HXaTuts9+j4ulMA1@;e zLp0G2&?0N+#Ca~Qi_pOtLnzj2!}j~HWu)-g6gHLjs{DMkUB`8~30#13)9L_^PL!8w zK#Egm)T>vYIQUrGA=T0bLL5!H4#YEUmh19H|N{|l!(P)MVoFg{v) KVO?@Poc{xq2w*P& diff --git a/java.lsifsample/.classpath b/java/.classpath similarity index 100% rename from java.lsifsample/.classpath rename to java/.classpath diff --git a/java.lsifsample/pom.xml b/java/pom.xml similarity index 100% rename from java.lsifsample/pom.xml rename to java/pom.xml diff --git a/java/src/App.java b/java/src/App.java deleted file mode 100644 index 5b6c23d..0000000 --- a/java/src/App.java +++ /dev/null @@ -1,8 +0,0 @@ -public class App -{ - public static void main( String[] args ) - { - Interactive block = new GameObject(10,10); - block.interact(); - } -} diff --git a/java/src/Drawable.java b/java/src/Drawable.java deleted file mode 100644 index da34459..0000000 --- a/java/src/Drawable.java +++ /dev/null @@ -1,4 +0,0 @@ -interface Drawable -{ - public void draw(); -} \ No newline at end of file diff --git a/java/src/GameObject.java b/java/src/GameObject.java deleted file mode 100644 index 2fa16d4..0000000 --- a/java/src/GameObject.java +++ /dev/null @@ -1,20 +0,0 @@ -class GameObject implements Interactive, Drawable -{ - int posX, posY; - - GameObject(int x, int y) - { - posX = x; - posY = y; - } - - public void interact() - { - System.out.println("Interacting with GameObject"); - } - - public void draw() - { - System.out.println("Drawing GameObject at position: " + posX + ", " + posY); - } -} \ No newline at end of file diff --git a/java/src/Interactive.java b/java/src/Interactive.java deleted file mode 100644 index f7aaf1c..0000000 --- a/java/src/Interactive.java +++ /dev/null @@ -1,4 +0,0 @@ -interface Interactive -{ - public void interact(); -} \ No newline at end of file diff --git a/java.lsifsample/src/main/java/com/test/sort/App.java b/java/src/main/java/com/test/sort/App.java similarity index 100% rename from java.lsifsample/src/main/java/com/test/sort/App.java rename to java/src/main/java/com/test/sort/App.java diff --git a/java.lsifsample/src/test/java/com/test/sort/AppTest.java b/java/src/test/java/com/test/sort/AppTest.java similarity index 100% rename from java.lsifsample/src/test/java/com/test/sort/AppTest.java rename to java/src/test/java/com/test/sort/AppTest.java From 92f7579070a33eaf73c3c53cc31eaccd739d7029 Mon Sep 17 00:00:00 2001 From: Tina Chen Date: Wed, 18 Mar 2020 17:34:20 -0700 Subject: [PATCH 30/41] Modify github connection --- azure-pipelines-dev.yml | 2 +- azure-pipelines-int.yml | 2 +- azure-pipelines-prod.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-pipelines-dev.yml b/azure-pipelines-dev.yml index 73e9f49..e284a69 100644 --- a/azure-pipelines-dev.yml +++ b/azure-pipelines-dev.yml @@ -29,7 +29,7 @@ steps: inputs: serviceConnection: 'richCodeNav-Token-Dev' languages: 'csharp,typescript,java,cpp' - githubServiceConnection: 'github-oauth' + githubServiceConnection: 'xuachen' nugetFeed: 'https://devdiv.pkgs.visualstudio.com/Personal/_packaging/richnav/nuget/v3/index.json' isPrivateFeed: true nugetVersion: '0.1.1382-alpha' diff --git a/azure-pipelines-int.yml b/azure-pipelines-int.yml index 213931a..a4fc937 100644 --- a/azure-pipelines-int.yml +++ b/azure-pipelines-int.yml @@ -29,7 +29,7 @@ steps: inputs: serviceConnection: 'richCodeNav-Token-Int' languages: 'csharp,typescript,java,cpp' - githubServiceConnection: 'github-oauth' + githubServiceConnection: 'xuachen' environment: staging isPrivateFeed: false continueOnError: true diff --git a/azure-pipelines-prod.yml b/azure-pipelines-prod.yml index ce3b449..ace2458 100644 --- a/azure-pipelines-prod.yml +++ b/azure-pipelines-prod.yml @@ -29,7 +29,7 @@ steps: inputs: serviceConnection: 'richCodeNav-Token-Prod' languages: 'csharp,typescript,java,cpp' - githubServiceConnection: 'github-oauth' + githubServiceConnection: 'xuachen' environment: production isPrivateFeed: false continueOnError: true From a86020356d878c28919b3ee92f35be908c60f45b Mon Sep 17 00:00:00 2001 From: Tina Chen <43013310+xuachen@users.noreply.github.com> Date: Tue, 24 Mar 2020 12:48:27 -0700 Subject: [PATCH 31/41] Add status badge --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 0c80b62..dc12f2e 100644 --- a/README.md +++ b/README.md @@ -6,3 +6,16 @@ This is a sample code base used to validate Rich Code Nav indexing against DEV, 1. Push any commit to any branch to trigger the build, typically a trivial comment change. 1. Monitor the indexing task and make sure the build succeeded. 1. Use the [Rich Nav chrome extension](https://chrome.google.com/webstore/detail/intellinav/dpafdcoicfffinjoondenocgljiaepfj) to validate code navigation on the commit that was indexed against the target environment. + +## Build Status +### DEV + +[![Build Status](https://dev.azure.com/devdiv/Personal/_apis/build/status/RichNavIndexCodeSamples/RichNavIndex-GitHub-DEV)](https://dev.azure.com/devdiv/Personal/_build/latest?definitionId=12798) + +### INT + +[![Build Status](https://dev.azure.com/devdiv/Personal/_apis/build/status/RichNavIndexCodeSamples/RichNavIndex-GitHub-INT)](https://dev.azure.com/devdiv/Personal/_build/latest?definitionId=12796) + +### PROD + +[![Build Status](https://dev.azure.com/devdiv/Personal/_apis/build/status/RichNavIndexCodeSamples/RichNavIndex-GitHub-PROD)](https://dev.azure.com/devdiv/Personal/_build/latest?definitionId=12797) From 21df570e4707c4c762fb0393528b0f14407ecd96 Mon Sep 17 00:00:00 2001 From: Jessica Petty Date: Thu, 9 Jul 2020 14:05:54 -0700 Subject: [PATCH 32/41] Add first workflow templates --- .github/workflows/richnav-csharp.yml | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/richnav-csharp.yml diff --git a/.github/workflows/richnav-csharp.yml b/.github/workflows/richnav-csharp.yml new file mode 100644 index 0000000..27765aa --- /dev/null +++ b/.github/workflows/richnav-csharp.yml @@ -0,0 +1,33 @@ +### This template is meant to be used by a .NET Core repository running RichNav +### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository +name: Rich Code Navigation (.NET Core) + +on: + push: + branches: [ master ] + pull_request: + +jobs: + build: + + runs-on: windows-latest + + steps: + + - uses: actions/checkout@v2 + + # **** Please change 'dotnet-version' to be the version of the .NET SDK used in your project **** # + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.1.101 + + # **** Please change 'working-directory' to be the location where your .SLN file is located **** # + - name: Install dependencies + run: dotnet restore + working-directory: ./DemoApp + + - uses: microsoft/RichCodeNavIndexer@v0.1 + with: + languages: csharp + repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From f1f6e2c292ec5c52211826b11bb3123da911078d Mon Sep 17 00:00:00 2001 From: Jessica Petty Date: Thu, 9 Jul 2020 14:30:15 -0700 Subject: [PATCH 33/41] Add typescript action --- .github/workflows/richnav-typescript.yml | 33 ++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/richnav-typescript.yml diff --git a/.github/workflows/richnav-typescript.yml b/.github/workflows/richnav-typescript.yml new file mode 100644 index 0000000..0871566 --- /dev/null +++ b/.github/workflows/richnav-typescript.yml @@ -0,0 +1,33 @@ +### This template is meant to be used by a .NET Core repository running RichNav +### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository + +name: Rich Code Navigation (Node JS) + +on: + push: + branches: [ master ] + pull_request: + +jobs: + richnav: + + runs-on: windows-latest + + # **** If necessary, use the Node version for your repository. Note: must be greater than 10.x **** # + strategy: + matrix: + node-version: [10.x, 12.x, 14.x] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm ci + + - uses: microsoft/RichCodeNavIndexer@master + with: + languages: typescript + repo-token: ${{ secrets.GITHUB_TOKEN }} + From 2eb92d05ba162d625216f2ddac93ec797ebea6bf Mon Sep 17 00:00:00 2001 From: Jessica Petty Date: Thu, 9 Jul 2020 14:12:18 -0700 Subject: [PATCH 34/41] Update richnav-csharp.yml --- .github/workflows/richnav-csharp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/richnav-csharp.yml b/.github/workflows/richnav-csharp.yml index 27765aa..4399c35 100644 --- a/.github/workflows/richnav-csharp.yml +++ b/.github/workflows/richnav-csharp.yml @@ -25,9 +25,9 @@ jobs: # **** Please change 'working-directory' to be the location where your .SLN file is located **** # - name: Install dependencies run: dotnet restore - working-directory: ./DemoApp + working-directory: ./csharp - uses: microsoft/RichCodeNavIndexer@v0.1 with: languages: csharp - repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + repo-token: ${{ secrets.GITHUB_TOKEN }} From 0cbba6c1950c21cdf28b5a8c6d8cf74345e4d7d3 Mon Sep 17 00:00:00 2001 From: Jessica Petty Date: Thu, 9 Jul 2020 14:20:12 -0700 Subject: [PATCH 35/41] Use master of rich nav task --- .github/workflows/richnav-csharp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/richnav-csharp.yml b/.github/workflows/richnav-csharp.yml index 4399c35..f79cfda 100644 --- a/.github/workflows/richnav-csharp.yml +++ b/.github/workflows/richnav-csharp.yml @@ -27,7 +27,7 @@ jobs: run: dotnet restore working-directory: ./csharp - - uses: microsoft/RichCodeNavIndexer@v0.1 + - uses: microsoft/RichCodeNavIndexer@master with: languages: csharp repo-token: ${{ secrets.GITHUB_TOKEN }} From 692abecd91e3e23b389e2cd3c123fbf6509009e1 Mon Sep 17 00:00:00 2001 From: Jessica Petty Date: Thu, 9 Jul 2020 14:34:47 -0700 Subject: [PATCH 36/41] Add java workflow --- .github/workflows/richnav-java.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/richnav-java.yml diff --git a/.github/workflows/richnav-java.yml b/.github/workflows/richnav-java.yml new file mode 100644 index 0000000..9a4cd55 --- /dev/null +++ b/.github/workflows/richnav-java.yml @@ -0,0 +1,27 @@ +### This template is meant to be used by a .NET Core repository running RichNav +### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository + +name: Rich Code Navigation (Java with Maven) + +on: + push: + branches: [ master ] + pull_request: + +jobs: + richnav: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - uses: microsoft/RichCodeNavIndexer@master + with: + languages: java + repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From b75b1aeadd3cfc84fd13dabe5da7b1fcd7482af8 Mon Sep 17 00:00:00 2001 From: Jessica Petty Date: Thu, 9 Jul 2020 14:41:58 -0700 Subject: [PATCH 37/41] Fix typescript action --- .github/workflows/richnav-typescript.yml | 4 +++- .gitignore | 1 + typescript/package.json | 10 ++++++++++ typescript/yarn.lock | 4 ++++ 4 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 typescript/package.json create mode 100644 typescript/yarn.lock diff --git a/.github/workflows/richnav-typescript.yml b/.github/workflows/richnav-typescript.yml index 0871566..86ffbd9 100644 --- a/.github/workflows/richnav-typescript.yml +++ b/.github/workflows/richnav-typescript.yml @@ -24,7 +24,9 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: npm ci + + - run: yarn + working-directory: typescript - uses: microsoft/RichCodeNavIndexer@master with: diff --git a/.gitignore b/.gitignore index 041046f..6053d9c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ csharp/.vs/* # TypeScript typescript/lib +node_modules # Java java/lib \ No newline at end of file diff --git a/typescript/package.json b/typescript/package.json new file mode 100644 index 0000000..405365a --- /dev/null +++ b/typescript/package.json @@ -0,0 +1,10 @@ +{ + "name": "tester-game", + "version": "0.0.1", + "description": "A simple Typescript game to test things", + "main": "App.js", + "license": "MIT", + "scripts": { + "build": "tsc -p ./" + } +} \ No newline at end of file diff --git a/typescript/yarn.lock b/typescript/yarn.lock new file mode 100644 index 0000000..fb57ccd --- /dev/null +++ b/typescript/yarn.lock @@ -0,0 +1,4 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + From 829630f5b970b72038a14fea9a95a1216476bf79 Mon Sep 17 00:00:00 2001 From: Jessica Petty Date: Thu, 9 Jul 2020 15:39:46 -0700 Subject: [PATCH 38/41] Add new template for entire workflow --- .github/workflows/richnav-all.yml | 46 +++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 .github/workflows/richnav-all.yml diff --git a/.github/workflows/richnav-all.yml b/.github/workflows/richnav-all.yml new file mode 100644 index 0000000..da96ae2 --- /dev/null +++ b/.github/workflows/richnav-all.yml @@ -0,0 +1,46 @@ +### This template is meant to be used by a .NET Core repository running RichNav +### Please fill anything marked above with a "# **** #" comment with the value appropriate for your repository + +name: Rich Code Navigation + +on: + push: + branches: [ master ] + pull_request: + +jobs: + richnav: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v2 + + # **** Please change 'dotnet-version' to be the version of the .NET SDK used in your project **** # + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.1.101 + + # **** Please change 'working-directory' to be the location where your .SLN file is located **** # + - name: Install dependencies + run: dotnet restore + working-directory: ./csharp + + # **** Please change the version of Node being used to the one for your project **** # + - name: Use Node.js 12.x + uses: actions/setup-node@v1 + with: + node-version: 12.x + + - run: yarn + working-directory: typescript + + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + + - uses: microsoft/RichCodeNavIndexer@v0.1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file From e3dfb32e502ad709772f7adf427f24aa47be3b20 Mon Sep 17 00:00:00 2001 From: Jessica Petty Date: Thu, 9 Jul 2020 15:48:43 -0700 Subject: [PATCH 39/41] try specifying pull requests first --- .github/workflows/richnav-all.yml | 2 +- .github/workflows/richnav-csharp.yml | 2 +- .github/workflows/richnav-java.yml | 2 +- .github/workflows/richnav-typescript.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/richnav-all.yml b/.github/workflows/richnav-all.yml index da96ae2..e08595d 100644 --- a/.github/workflows/richnav-all.yml +++ b/.github/workflows/richnav-all.yml @@ -4,9 +4,9 @@ name: Rich Code Navigation on: + pull_request: push: branches: [ master ] - pull_request: jobs: richnav: diff --git a/.github/workflows/richnav-csharp.yml b/.github/workflows/richnav-csharp.yml index f79cfda..2e06630 100644 --- a/.github/workflows/richnav-csharp.yml +++ b/.github/workflows/richnav-csharp.yml @@ -3,9 +3,9 @@ name: Rich Code Navigation (.NET Core) on: + pull_request: push: branches: [ master ] - pull_request: jobs: build: diff --git a/.github/workflows/richnav-java.yml b/.github/workflows/richnav-java.yml index 9a4cd55..f73281a 100644 --- a/.github/workflows/richnav-java.yml +++ b/.github/workflows/richnav-java.yml @@ -4,9 +4,9 @@ name: Rich Code Navigation (Java with Maven) on: + pull_request: push: branches: [ master ] - pull_request: jobs: richnav: diff --git a/.github/workflows/richnav-typescript.yml b/.github/workflows/richnav-typescript.yml index 86ffbd9..82a694a 100644 --- a/.github/workflows/richnav-typescript.yml +++ b/.github/workflows/richnav-typescript.yml @@ -4,9 +4,9 @@ name: Rich Code Navigation (Node JS) on: + pull_request: push: branches: [ master ] - pull_request: jobs: richnav: From 41d17e0678569baabea70a70ec8af544d605c9f1 Mon Sep 17 00:00:00 2001 From: Jessica Petty Date: Mon, 13 Jul 2020 08:10:49 -0700 Subject: [PATCH 40/41] Explicitly list languages, use v0.1 for all --- .github/workflows/richnav-all.yml | 3 ++- .github/workflows/richnav-csharp.yml | 2 +- .github/workflows/richnav-java.yml | 2 +- .github/workflows/richnav-typescript.yml | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/richnav-all.yml b/.github/workflows/richnav-all.yml index e08595d..44f0313 100644 --- a/.github/workflows/richnav-all.yml +++ b/.github/workflows/richnav-all.yml @@ -43,4 +43,5 @@ jobs: - uses: microsoft/RichCodeNavIndexer@v0.1 with: - repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + repo-token: ${{ secrets.GITHUB_TOKEN }} + languages: csharp, java, typescript, cpp \ No newline at end of file diff --git a/.github/workflows/richnav-csharp.yml b/.github/workflows/richnav-csharp.yml index 2e06630..6d693b5 100644 --- a/.github/workflows/richnav-csharp.yml +++ b/.github/workflows/richnav-csharp.yml @@ -27,7 +27,7 @@ jobs: run: dotnet restore working-directory: ./csharp - - uses: microsoft/RichCodeNavIndexer@master + - uses: microsoft/RichCodeNavIndexer@v0.1 with: languages: csharp repo-token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/richnav-java.yml b/.github/workflows/richnav-java.yml index f73281a..ae1406e 100644 --- a/.github/workflows/richnav-java.yml +++ b/.github/workflows/richnav-java.yml @@ -21,7 +21,7 @@ jobs: with: java-version: 1.8 - - uses: microsoft/RichCodeNavIndexer@master + - uses: microsoft/RichCodeNavIndexer@v0.1 with: languages: java repo-token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/richnav-typescript.yml b/.github/workflows/richnav-typescript.yml index 82a694a..99fde22 100644 --- a/.github/workflows/richnav-typescript.yml +++ b/.github/workflows/richnav-typescript.yml @@ -28,7 +28,7 @@ jobs: - run: yarn working-directory: typescript - - uses: microsoft/RichCodeNavIndexer@master + - uses: microsoft/RichCodeNavIndexer@v0.1 with: languages: typescript repo-token: ${{ secrets.GITHUB_TOKEN }} From b59b9b223a8d3aaa489c2cfe0e92a37943395edb Mon Sep 17 00:00:00 2001 From: Jessica Petty Date: Mon, 13 Jul 2020 08:23:55 -0700 Subject: [PATCH 41/41] Fix typo --- .github/workflows/richnav-all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/richnav-all.yml b/.github/workflows/richnav-all.yml index 44f0313..e47f1f2 100644 --- a/.github/workflows/richnav-all.yml +++ b/.github/workflows/richnav-all.yml @@ -44,4 +44,4 @@ jobs: - uses: microsoft/RichCodeNavIndexer@v0.1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - languages: csharp, java, typescript, cpp \ No newline at end of file + languages: csharp,java,typescript,cpp \ No newline at end of file