-
Notifications
You must be signed in to change notification settings - Fork 1
Added StellarEnv to manage and communicate with stellar installed versions #24
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
Merged
Merged
Changes from all commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
510ce09
#13: working on install, local and list command from stellar env
malcommac 490d7a1
#13: working on command runner
malcommac f9fc551
#13: Added StellarEnv to schemes to compile and assets in release
malcommac f7483dd
#13 Working on update of the environment
malcommac eca495a
#13: convert jsonRequest to sync command
malcommac 5f5391e
#13: working on env installation
malcommac 81ae84f
#13: Added rm+mv to stellar env installation
malcommac 412f7ba
#13 removed async operations, added shortcuts for terminal commands
malcommac 4487b27
#13: renaming classes
malcommac a9100ec
#13: added command forwarder to resolve and call the appropriate vers…
malcommac f41f2ec
#13: fixes
malcommac 9aea85c
#13: some files reorganization
malcommac 9b4b9fa
#13: some doc
malcommac 7684cd4
Merge branch 'master' into feature/13-stellar-env
malcommac efa1703
#13: updated import for StellarCore
malcommac e361a27
#13: fixes
malcommac efc92a9
Merge branch 'master' into feature/13-stellar-env
malcommac ff64b1c
#13: Used @main and renamed StellarEnvCommands
malcommac a31f904
#13: Added StellarEnv Tests folder suite
malcommac 4bab549
#13: Added support for smart file downloads using Swift (instead of c…
malcommac 22dbdae
#13: Some cleanup on APIProvider
malcommac 21d38cd
#13: Updating EnvInstaller
malcommac 55438f5
#13: working on dependency injection, removed some classes
malcommac ac2262b
#13: Some refactoring
malcommac df2c162
#13: Some refinements
malcommac 73a3f77
#13: Added Mock server for tests
malcommac b1b4c24
#13: working on test
malcommac ed51516
#13: various changes
malcommac d5fccdc
#13: working on installation by tag and version
malcommac cd793fc
#13: refactoring
malcommac 516e8b3
#13: Commented some test code
malcommac 1b10ae9
#13: Fix for CommandForwarder
malcommac 6689a75
#13: Updated install.sh script to install stellarenv
malcommac 1fa6495
#13: Cleanup
malcommac 6297e96
#13: Fixed install.sh script
malcommac 0e7dc72
#13: Added installation of CLI in install.sh
malcommac 08ecdd2
#13: disabled mark as prerelease
malcommac c7401a6
Split install.sh into install.sh and install_private.sh
albertodebortoli b5215af
Fix typos
albertodebortoli 4bfb3c7
Remove broken reference to StellarTests from StellarEnv scheme
albertodebortoli 74fdd71
Update swift-tools-support-core to version already in .resolved
albertodebortoli f5132e7
Use .upToNextMajor for swift-tools-support-core as done for the other…
albertodebortoli 7bf6316
Sort entries in Package.swift
albertodebortoli 27999e5
Sort targets in Package.swift
albertodebortoli 66cc186
Remove duplicate HintTemplateNames
albertodebortoli 3a4732b
Add toolFolder to FileConstants
albertodebortoli 5775bfc
Minor name consistency and sorting
albertodebortoli eaa6981
Improve FileManager's withTemporaryDirectory
albertodebortoli 70ea5cb
Minor improvements in BundleUpdater
albertodebortoli 7f2098c
Minor improvements in CLIInstaller
albertodebortoli 20cdcd8
Minor improvements in EnvInstaller
albertodebortoli 47667fa
Minor improvements in CommandResolver
albertodebortoli 89da287
Minor improvements in ReleaseProvider
albertodebortoli fc771df
Minor improvements in VersionResolver
albertodebortoli e4b27e5
Minor improvements in URLManager
albertodebortoli 8b8f0dd
Put RemoteRelease Codable conformance in extension
albertodebortoli 8d652f8
Minor improvements in Shell
albertodebortoli e237dc6
Minor remaining improvements
albertodebortoli 5470869
Fix binName constant
albertodebortoli 1097f2e
Remove resources from StellarEnvTests to fix build warning
albertodebortoli 98d6ca9
Correct GitHub Actions workflows
albertodebortoli 696d0a9
Update run-tests workflow to run tests on any PR
albertodebortoli 47f85ac
Fix uninstall.sh
albertodebortoli fe8fe0e
Move workflows back to macos-12
albertodebortoli 33f6b08
Use @main in StellarEnvCommand to leverage Argument Parser
albertodebortoli 87e0730
Revert back to macOS(.v12) in Package.swift
albertodebortoli a9b36c1
Revert "Use @main in StellarEnvCommand to leverage Argument Parser"
albertodebortoli fe82f78
Rename 3 methods in URLManager
albertodebortoli c42131c
Merge remote-tracking branch 'origin/master' into feature/13-stellar-env
9b73858
Fix retrieval of the GitHub token content
albertodebortoli b7b3991
Minor renaming
albertodebortoli 88447ea
Minor renaming of a method
albertodebortoli c3e2f7b
Merge pull request #30 from StellarTools/feature/13-stellar-env-alberto
albertodebortoli 2539859
#13: Fixed the name of the StellarCLI bin in FileConstants
malcommac 403741a
#13: Fixed local versions list sorting
malcommac 883aaec
#13: Removed whitespace in Package.swift
malcommac 1dd2e26
#13: Added BundleService to bundle stellar-bin into a project
malcommac 2c68fe0
#13: copy file should not remove (move) a file but create a copy
malcommac d90e694
#13: fixed a bug with deleteFolder in bundle installer
malcommac 45ccd24
#13 Renamed CLI/Env/Bundle Installer* in Service*, renamed Bundle in …
malcommac dc90530
#13 Removed unused ShellOut import
malcommac 6e5783f
#13: Renamed UpdaterService to be consistent with other protocols
malcommac 976b753
#13: Minor log changes
malcommac 5adaed8
Remove StellarEnv tests
albertodebortoli 2072d87
Fix schemes
albertodebortoli 303b499
Merge branch 'master' into feature/13-stellar-env
albertodebortoli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -92,3 +92,4 @@ iOSInjectionProject/ | |
|
|
||
| TestApp/.stellar/ | ||
|
|
||
| .DS_Store | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
Stellar/.swiftpm/xcode/xcshareddata/xcschemes/StellarCore.xcscheme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <Scheme | ||
| LastUpgradeVersion = "1420" | ||
| version = "1.3"> | ||
| <BuildAction | ||
| parallelizeBuildables = "YES" | ||
| buildImplicitDependencies = "YES"> | ||
| <BuildActionEntries> | ||
| <BuildActionEntry | ||
| buildForTesting = "YES" | ||
| buildForRunning = "YES" | ||
| buildForProfiling = "YES" | ||
| buildForArchiving = "YES" | ||
| buildForAnalyzing = "YES"> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "StellarCore" | ||
| BuildableName = "StellarCore" | ||
| BlueprintName = "StellarCore" | ||
| ReferencedContainer = "container:"> | ||
| </BuildableReference> | ||
| </BuildActionEntry> | ||
| </BuildActionEntries> | ||
| </BuildAction> | ||
| <TestAction | ||
| buildConfiguration = "Debug" | ||
| selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| shouldUseLaunchSchemeArgsEnv = "YES"> | ||
| <Testables> | ||
| </Testables> | ||
| </TestAction> | ||
| <LaunchAction | ||
| buildConfiguration = "Debug" | ||
| selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| launchStyle = "0" | ||
| useCustomWorkingDirectory = "NO" | ||
| ignoresPersistentStateOnLaunch = "NO" | ||
| debugDocumentVersioning = "YES" | ||
| debugServiceExtension = "internal" | ||
| allowLocationSimulation = "YES"> | ||
| </LaunchAction> | ||
| <ProfileAction | ||
| buildConfiguration = "Release" | ||
| shouldUseLaunchSchemeArgsEnv = "YES" | ||
| savedToolIdentifier = "" | ||
| useCustomWorkingDirectory = "NO" | ||
| debugDocumentVersioning = "YES"> | ||
| <MacroExpansion> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "StellarCore" | ||
| BuildableName = "StellarCore" | ||
| BlueprintName = "StellarCore" | ||
| ReferencedContainer = "container:"> | ||
| </BuildableReference> | ||
| </MacroExpansion> | ||
| </ProfileAction> | ||
| <AnalyzeAction | ||
| buildConfiguration = "Debug"> | ||
| </AnalyzeAction> | ||
| <ArchiveAction | ||
| buildConfiguration = "Release" | ||
| revealArchiveInOrganizer = "YES"> | ||
| </ArchiveAction> | ||
| </Scheme> |
125 changes: 125 additions & 0 deletions
125
Stellar/.swiftpm/xcode/xcshareddata/xcschemes/StellarEnv.xcscheme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,125 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <Scheme | ||
| LastUpgradeVersion = "1420" | ||
| version = "1.3"> | ||
| <BuildAction | ||
| parallelizeBuildables = "YES" | ||
| buildImplicitDependencies = "YES"> | ||
| <BuildActionEntries> | ||
| <BuildActionEntry | ||
| buildForTesting = "YES" | ||
| buildForRunning = "YES" | ||
| buildForProfiling = "YES" | ||
| buildForArchiving = "YES" | ||
| buildForAnalyzing = "YES"> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "StellarEnv" | ||
| BuildableName = "StellarEnv" | ||
| BlueprintName = "StellarEnv" | ||
| ReferencedContainer = "container:"> | ||
| </BuildableReference> | ||
| </BuildActionEntry> | ||
| </BuildActionEntries> | ||
| </BuildAction> | ||
| <TestAction | ||
| buildConfiguration = "Debug" | ||
| selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| shouldUseLaunchSchemeArgsEnv = "YES"> | ||
| <Testables> | ||
| <TestableReference | ||
| skipped = "NO"> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "StellarEnvTests" | ||
| BuildableName = "StellarEnvTests" | ||
| BlueprintName = "StellarEnvTests" | ||
| ReferencedContainer = "container:"> | ||
| </BuildableReference> | ||
| </TestableReference> | ||
| <TestableReference | ||
| skipped = "NO"> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "StellarCoreTests" | ||
| BuildableName = "StellarCoreTests" | ||
| BlueprintName = "StellarCoreTests" | ||
| ReferencedContainer = "container:"> | ||
| </BuildableReference> | ||
| </TestableReference> | ||
| </Testables> | ||
| </TestAction> | ||
| <LaunchAction | ||
| buildConfiguration = "Debug" | ||
| selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| launchStyle = "0" | ||
| useCustomWorkingDirectory = "NO" | ||
| ignoresPersistentStateOnLaunch = "NO" | ||
| debugDocumentVersioning = "YES" | ||
| debugServiceExtension = "internal" | ||
| allowLocationSimulation = "YES" | ||
| viewDebuggingEnabled = "No"> | ||
| <BuildableProductRunnable | ||
| runnableDebuggingMode = "0"> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "StellarEnv" | ||
| BuildableName = "StellarEnv" | ||
| BlueprintName = "StellarEnv" | ||
| ReferencedContainer = "container:"> | ||
| </BuildableReference> | ||
| </BuildableProductRunnable> | ||
| <CommandLineArguments> | ||
| <CommandLineArgument | ||
| argument = "install" | ||
| isEnabled = "NO"> | ||
| </CommandLineArgument> | ||
| <CommandLineArgument | ||
| argument = "0.0.4" | ||
| isEnabled = "NO"> | ||
| </CommandLineArgument> | ||
| <CommandLineArgument | ||
| argument = "local" | ||
| isEnabled = "NO"> | ||
| </CommandLineArgument> | ||
| <CommandLineArgument | ||
| argument = "list" | ||
| isEnabled = "NO"> | ||
| </CommandLineArgument> | ||
| <CommandLineArgument | ||
| argument = "update" | ||
| isEnabled = "NO"> | ||
| </CommandLineArgument> | ||
| <CommandLineArgument | ||
| argument = "build" | ||
| isEnabled = "NO"> | ||
| </CommandLineArgument> | ||
| </CommandLineArguments> | ||
| </LaunchAction> | ||
| <ProfileAction | ||
| buildConfiguration = "Release" | ||
| shouldUseLaunchSchemeArgsEnv = "YES" | ||
| savedToolIdentifier = "" | ||
| useCustomWorkingDirectory = "NO" | ||
| debugDocumentVersioning = "YES"> | ||
| <BuildableProductRunnable | ||
| runnableDebuggingMode = "0"> | ||
| <BuildableReference | ||
| BuildableIdentifier = "primary" | ||
| BlueprintIdentifier = "StellarEnv" | ||
| BuildableName = "StellarEnv" | ||
| BlueprintName = "StellarEnv" | ||
| ReferencedContainer = "container:"> | ||
| </BuildableReference> | ||
| </BuildableProductRunnable> | ||
| </ProfileAction> | ||
| <AnalyzeAction | ||
| buildConfiguration = "Debug"> | ||
| </AnalyzeAction> | ||
| <ArchiveAction | ||
| buildConfiguration = "Release" | ||
| revealArchiveInOrganizer = "YES"> | ||
| </ArchiveAction> | ||
| </Scheme> | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This TestAction is now missing