-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented vanilla pack #6
Commits on Dec 16, 2023
-
refactor: Added interface usage to
AutomationInterface
- Added `IPlcProject`, `ITwincatProject`, and `IAutomationInterface` - Added `README` with a brief description
Configuration menu - View commit details
-
Copy full SHA for d7fd8df - Browse repository at this point
Copy the full SHA d7fd8dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 245b7ca - Browse repository at this point
Copy the full SHA 245b7caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a7d6c8 - Browse repository at this point
Copy the full SHA 5a7d6c8View commit details
Commits on Dec 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 999defa - Browse repository at this point
Copy the full SHA 999defaView commit details -
feat: Added
XmlSerializer
toTwinGet.Utils
Refactor code to use the newly added generic deserializing method for less code duplications when deserializing project files.
Configuration menu - View commit details
-
Copy full SHA for ca7554b - Browse repository at this point
Copy the full SHA ca7554bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a54ca84 - Browse repository at this point
Copy the full SHA a54ca84View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8c9ea3 - Browse repository at this point
Copy the full SHA e8c9ea3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d2aa66 - Browse repository at this point
Copy the full SHA 0d2aa66View commit details -
build: Migrated DTO objects to a
TwinGet.AutomationInterface.Dto
pr……oject Updated all projects to .NET 8 for consistency.
Configuration menu - View commit details
-
Copy full SHA for 308e53d - Browse repository at this point
Copy the full SHA 308e53dView commit details
Commits on Dec 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d479d15 - Browse repository at this point
Copy the full SHA d479d15View commit details
Commits on Dec 19, 2023
-
feat: Added several TwinCAT utils
- Including `PlcProjectBelongToSolution()` and `IsTwincatProjectFileExtension()` - Resolving the appsettings.json absolution path
Configuration menu - View commit details
-
Copy full SHA for 35a9305 - Browse repository at this point
Copy the full SHA 35a9305View commit details
Commits on Dec 20, 2023
-
chore: Extracted test utilities to a separate project
Test.Utils
It used to be under `TwinGet.AutomationInterface.Test` project.
Configuration menu - View commit details
-
Copy full SHA for b5148dd - Browse repository at this point
Copy the full SHA b5148ddView commit details -
Configuration menu - View commit details
-
Copy full SHA for c357ee7 - Browse repository at this point
Copy the full SHA c357ee7View commit details
Commits on Dec 21, 2023
-
refactor: extracted
TwinGet.AutomationInterface.Dto.Test
project- Fixed namespace for `PackCommandValidatorTests.cs` - Added docs to `Test.Utils`
Configuration menu - View commit details
-
Copy full SHA for 9fe360b - Browse repository at this point
Copy the full SHA 9fe360bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce203c6 - Browse repository at this point
Copy the full SHA ce203c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa4521b - Browse repository at this point
Copy the full SHA aa4521bView commit details
Commits on Dec 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c59de25 - Browse repository at this point
Copy the full SHA c59de25View commit details -
Configuration menu - View commit details
-
Copy full SHA for cacb5b5 - Browse repository at this point
Copy the full SHA cacb5b5View commit details -
refactor: Prefered using
EnumerateFiles()
for lazy evaluationUsing `Directory.EnumerateFiles()` instead of `Directory.GetFiles()`
Configuration menu - View commit details
-
Copy full SHA for f9eb89a - Browse repository at this point
Copy the full SHA f9eb89aView commit details -
test: Removed
TwinGet.TwincatInterface.Dto.Test
DTO classes need not be tested.
Configuration menu - View commit details
-
Copy full SHA for 740afe9 - Browse repository at this point
Copy the full SHA 740afe9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4eae98c - Browse repository at this point
Copy the full SHA 4eae98cView commit details
Commits on Dec 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1b72ce9 - Browse repository at this point
Copy the full SHA 1b72ce9View commit details -
refactor: Extracted some methods at
PackageService.cs
Added more logging information during packaging.
Configuration menu - View commit details
-
Copy full SHA for 02e5f86 - Browse repository at this point
Copy the full SHA 02e5f86View commit details -
fix: Added missing path comparison to
PlcProjectBelongToSolution
In `TwincatUtils.cs`.
Configuration menu - View commit details
-
Copy full SHA for cef43d4 - Browse repository at this point
Copy the full SHA cef43d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9a8e71 - Browse repository at this point
Copy the full SHA c9a8e71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30288a6 - Browse repository at this point
Copy the full SHA 30288a6View commit details -
refactor: Added validation for solution option
When a solution is provided, we validate whether the file exists.
Configuration menu - View commit details
-
Copy full SHA for 7230dba - Browse repository at this point
Copy the full SHA 7230dbaView commit details -
refactor: Remove the library file after we are done packing
In `PackageService.PackFromProjectFileAsync()`.
Configuration menu - View commit details
-
Copy full SHA for 9851251 - Browse repository at this point
Copy the full SHA 9851251View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0be36f7 - Browse repository at this point
Copy the full SHA 0be36f7View commit details
Commits on Dec 27, 2023
-
refactor: Made
IPackCommand
properties readonly- In case for IPackCommand is propagated, we don't really want any side-effects from changing the its members. - Also added some functions for safe execute in `Thread` to `PackageService.cs`. For instance, `SafeExecute` and `SafeExecuteAsync`.
Configuration menu - View commit details
-
Copy full SHA for 8f0295c - Browse repository at this point
Copy the full SHA 8f0295cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 703aaf6 - Browse repository at this point
Copy the full SHA 703aaf6View commit details -
build: Added several test projects
- Migrated `TestTwincatProjectTests.cs` to the new `Test.Test.Utils.Test` project - Created `TwinGet.Cli.FuncTest` for functional tests
Configuration menu - View commit details
-
Copy full SHA for 307ccbe - Browse repository at this point
Copy the full SHA 307ccbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1ed35d - Browse repository at this point
Copy the full SHA c1ed35dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a8e7bf - Browse repository at this point
Copy the full SHA 0a8e7bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b96d65d - Browse repository at this point
Copy the full SHA b96d65dView commit details -
fix: fixed
IsManagedLibrary
property- Extracted `IPlcProjectMetadata`. - `TestPlcProject` implements `IPlcProjectMetadata`
Configuration menu - View commit details
-
Copy full SHA for 8b55b13 - Browse repository at this point
Copy the full SHA 8b55b13View commit details -
refactor: Renamed
IPlcProjectMetadata.FilePath
- To `AbsolutePath` - Added `AbsolutePath` to `ITwincatProject` delegating to `EnvDTE.Project.FullName` since `AbsolutePath` is a better name.
Configuration menu - View commit details
-
Copy full SHA for 5c23826 - Browse repository at this point
Copy the full SHA 5c23826View commit details
Commits on Dec 28, 2023
-
refactor: PackCommand.InvokeAsync returns non-zero value
- When it fail to pack - Added some functional tests to `TwinGet.Cli.FuncTest`
Configuration menu - View commit details
-
Copy full SHA for c8e0534 - Browse repository at this point
Copy the full SHA c8e0534View commit details -
Configuration menu - View commit details
-
Copy full SHA for a984d55 - Browse repository at this point
Copy the full SHA a984d55View commit details -
- For automation installation of CI tooling. - Added husky for running `pre-commit.ps1` which format and compile the code. We don't run tests at this stage and only in CI stage.
Configuration menu - View commit details
-
Copy full SHA for 5901191 - Browse repository at this point
Copy the full SHA 5901191View commit details -
fix: Added return value based on result to
PackCommand
- Added more assertions to `PackCommandTests.Pack_WithUnmanagedPlcProject_ShouldFail()` - Added some XML docs - Refactored some CI scripts
Configuration menu - View commit details
-
Copy full SHA for ee407e6 - Browse repository at this point
Copy the full SHA ee407e6View commit details
Commits on Dec 29, 2023
-
refactor: Migrated some implementation from
TwincatUtils
to `PlcPro……jectFileHelper` [skip ci] The refactored methods from `TwincatUtils` remains but its logic delegated to `PlcProjectFileHelper`
Configuration menu - View commit details
-
Copy full SHA for 5ab61cf - Browse repository at this point
Copy the full SHA 5ab61cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dadd46 - Browse repository at this point
Copy the full SHA 4dadd46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f27956 - Browse repository at this point
Copy the full SHA 1f27956View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e54cbd - Browse repository at this point
Copy the full SHA 1e54cbdView commit details
Commits on Dec 31, 2023
-
refactor: Reduced resposiblities for
TwincatUtils
- By separating some logics to `ProjectFileUtils` folder/namespace
Configuration menu - View commit details
-
Copy full SHA for aee2d5d - Browse repository at this point
Copy the full SHA aee2d5dView commit details -
refactor: Added
StaTaskScheduler
`PackageService` now uses that instead of `Thread`
Configuration menu - View commit details
-
Copy full SHA for f38d6ae - Browse repository at this point
Copy the full SHA f38d6aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5386e43 - Browse repository at this point
Copy the full SHA 5386e43View commit details
Commits on Jan 1, 2024
-
refactor: Fixed all warnings and some suggestions
Added try-catch block for `PackFromProjectFileAsync` when saving PLC project as library so we can return gracefully.
Configuration menu - View commit details
-
Copy full SHA for a57bf80 - Browse repository at this point
Copy the full SHA a57bf80View commit details -
refactor: Added
PackagingExceptionExtensions
With `LogWith` method for logging a `PackagingException` given an `ILogger`
Configuration menu - View commit details
-
Copy full SHA for 0eccba6 - Browse repository at this point
Copy the full SHA 0eccba6View commit details -
refactor: Fixed
PackageService.SavePlcLibraryAsync
The use of ThreadLocal with `AutomationInterface` is not good.
Configuration menu - View commit details
-
Copy full SHA for c3aa0cc - Browse repository at this point
Copy the full SHA c3aa0ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2109b9f - Browse repository at this point
Copy the full SHA 2109b9fView commit details
Commits on Jan 2, 2024
-
refactor: Improved
IsManagedLibrary
`IsManagedLibrary` extracted to a extension method in `PlcProjectMetadataExtensions`
Configuration menu - View commit details
-
Copy full SHA for aaa9ef9 - Browse repository at this point
Copy the full SHA aaa9ef9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7670b88 - Browse repository at this point
Copy the full SHA 7670b88View commit details
Commits on Jan 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4989026 - Browse repository at this point
Copy the full SHA 4989026View commit details
Commits on Jan 7, 2024
-
refactor: cleaned up
PlcProjectPackStrategy
- Renamed methods to match the strategy pattern - Removed `DoCustomValidation` as the parameters used to initialize a strategy should have been validated
Configuration menu - View commit details
-
Copy full SHA for f89b4d4 - Browse repository at this point
Copy the full SHA f89b4d4View commit details
Commits on Jan 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 37b6732 - Browse repository at this point
Copy the full SHA 37b6732View commit details
Commits on Feb 14, 2024
-
chore: Removed unnecessary launch setting
By default it launches with only the root command.
Configuration menu - View commit details
-
Copy full SHA for 82588ed - Browse repository at this point
Copy the full SHA 82588edView commit details
Commits on Feb 17, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2703298 - Browse repository at this point
Copy the full SHA 2703298View commit details -
build: Bumped version for some NuGet packages
Due to [CVE-2024-005](GHSA-68w7-72jg-6qpp).
Configuration menu - View commit details
-
Copy full SHA for feb6d6e - Browse repository at this point
Copy the full SHA feb6d6eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90bf6fa - Browse repository at this point
Copy the full SHA 90bf6faView commit details -
ci: Updated
actions/checkout
to v4Since Node.js 16 actions is being deprecated. See this [blog post](https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/).
Configuration menu - View commit details
-
Copy full SHA for d66a262 - Browse repository at this point
Copy the full SHA d66a262View commit details
Commits on Feb 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d4be1a5 - Browse repository at this point
Copy the full SHA d4be1a5View commit details