Unable to export Testset on github from Botium - chatbot

i am able to create a testset in local repository in botium box. how to create a export my testset on github. i can see there are two option register in gitrepository and register shared folder. but unable to export the testset created in botium. #BOTIUM-BOX

Related

Export github project to csv

Since 2022, Github features a second attempt on "Projects".
How can I export a table view of such an v2 project to a csv file?
Example
This is an example, which I would like to export to csv:
https://github.com/users/fiedl/projects/2/views/1
Further resources
Blog post on github projects
Projects documentation
API documentation
I have found this node project https://github.com/justinmahar/github-projectv2-csv-exporter, but maybe there is also a built-in endpoint or some cli tool
Workaround: Export all project items as csv
Based on the github cli and github's projects api, I have created a script to export all project items into a csv file as a temporary workaround.
Repo: https://github.com/fiedl/github-project-to-csv
brew install gh
git clone https://github.com/fiedl/github-project-to-csv.git
./github-project-to-csv.rb --project https://github.com/users/fiedl/projects/2 --output project.csv

Import azure devops code from one repository to another repository in same project

I am importing the code from one azure Devops repository to another repository in same project. while doing source code import to new repository. Import file option is not there.
workaround I did is below-
I cleaned the new Repository and then from old source code repository cloned the URL. used this URL to import in new repository -> File option -> import. Import option didn't appear. doc link here - https://learn.microsoft.com/en-us/azure/devops/repos/git/import-git-repository?view=azure-devops#import-into-an-existing-empty-repo
used the power shell script from this Microsoft documentation- https://learn.microsoft.com/en-us/azure/devops/repos/git/import-git-repository?view=azure-devops#manually-import-a-repo-using-az-repos-cli . using this script getting error "The User aaaaaaaaaaa-aaaaa-aaaa-aaaaaaaaa is not authorized to access this resource".
Can you please guide me to steps to move code from one repo to another in azure Devops?
Thank you!
You could clone the current repo to a new one both using "git commands" and from Azure DevOps UI. Please make sure the structure of both repos are the same and you have the corresponding permission to act with code in Azure DevOps.
1.From DevOps UI (Git as an example)
Paste the original repo's URL from browser:
https://dev.azure.com/{OrgName}/{ProjName}/_git/{OriginalRepoName}
Using DevOps PAT for authentication.
2.For Git commands, you could refer to this link for details: work on a repository from a different organization devOps
I'm not understanding why you need a special "import option" for this. Maybe you mean something by "import" that I'm not understanding? Why can't you just:
Check out both SourceRepo and DestRepo to your workstation.
Copy the source code from your SourceRepo working folder to your DestRepo working folder.
Commit and push DestRepo.

Associate CodeCommit repo While creating Sagemaker notebook Instance

I am trying to create Sagemaker notebook instance using cloudformation template. Just wanted to see if there is any way i can associate codecommit repo to that note book instance.
I know simple way to create repo and associate it using sagemaker via GUI easily.. However, is there any way we can associate via template.
I found similar info on https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html But it doesn't show with cloudformation
SageMaker now supports associating code repository including CodeCommit and any other Git repository with Notebook Instances via CloudFormation.
Here's the link for more information: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-coderepository.html

Provisioning GitHub-backed CodePipeline using CloudFormation

I am trying to create my CodePipeline using CloudFormation. The problem I'm having is that once it's created and tries to run, it immediately gives me the error:
Invalid action configuration The GitHub repository "MyOrg/MyRepo" or
branch "MyBranch" does not exist.
When in fact they both do. I can click on Edit, select my source control, Connect to GitHub, then select that exact repository and branch, and it works fine. But when starting the pipeline directly following the CloudFormation provisioning of the pipeline, it always gives me this error.
I did an export of the pipeline configuration JSON using aws codepipeline get-pipeline of a freshly provisioned pipeline using CloudFormation, and then did so again immediately after updating the configuration in the console using "Connect to GitHub" and both are identical.
Make sure that the Configuration property for your CodePipeline's GitHub Source Action contains all four required properties as listed in the documentation:
Owner
Repo
Branch
OAuthToken
Double check that your provided values are correct, particularly OAuthToken, which approximates the "Connect To GitHub" step in the the AWS Console-based CodePipeline setup.
To get a valid OAuthToken from GitHub to enter here, you need to create a New personal access token with repo and admin:repo_hook scopes enabled, as described in the documentation troubleshooting page.

The way of migration from GitLab to GitHub Enterprise

I'd like to migrate GitLab to GitHub. Of course, Git repo is easy to migrate. But other working items, such as Issue. Can I migrate all working items to GitHub Enterprise? If API is needed, please let me know the GitHub and GitLab APIs for the migration. If there is a tool, it is the best and helpful.
Best Regards,
I believe that is there a more efficient approach to solve this, but today we are trying Enterprise Edition and migrations projects individualy.
To export a full project, with Issues, MR history, ..., there is a section called Export Project.
Under project Settings > General > Export Project section with the following instructions:
Export this project with all its related data in order to move your
project to a new GitLab instance. Once the export is finished, you can
import the file from the "New Project" page.
Once the exported file is ready, you will receive a notification email
with a download link.
The following items will be exported:
Project and wiki repositories
Project uploads
Project configuration including web hooks and services
Issues with comments, merge requests with diffs and comments, labels, milestones, snippets, and other project entities
The following items will NOT be exported:
Job traces and artifacts
LFS objects
Container registry images
CI variables
Any encrypted tokens
Now, I wanna learn if there is a global export for all projects.