Ejemplo n.º 1
0
        public static async Task ModifyFilesToFitMigration(string filePath, string owner)
        {
            ModifyDotNetVersion(filePath);

            UpdatePackageReference(filePath).Wait();

            UpdateDockerFile(filePath);

            //Check in the file to a new repository
            GitMethods.CommitFileToRepository(owner, filePath, "MigratedConsoleApp");
        }
Ejemplo n.º 2
0
        public static async Task MigrateConsoleApp(string repo, string owner, string file_path)
        {
            var extractPath = GitMethods.CloneRepository(repo, owner, file_path).Result;

            ModifyFilesToFitMigration(extractPath.ToString(), owner).Wait();
        }