tfsc | Automated tool to find backup files | Continuous Backup library
kandi X-RAY | tfsc Summary
kandi X-RAY | tfsc Summary
tfsc is an automated and standalone tool to find backup files that may disclose the website's source code.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Start a request
- Start the attack .
- Print text to console .
- make url
- Show the results .
- Main entry point .
- Print text to stdout .
tfsc Key Features
tfsc Examples and Code Snippets
Community Discussions
Trending Discussions on tfsc
QUESTION
I want to backup local, uncommitted changes to the remote repository in order to backup the changes (in case the local hard drive breaks etc.)
(In TFSC, I would have just "shelved" the changes into a shelveset (which "lives" on the TF server))
What I tried:
- I created a new branch "backup_2021-02-13" and switched to it
- I committed the changes.
- I pushed it to the remote repo.
At this point of time, my changes have been saved on the remote repository (meaning that I could recover the information in case of a broken local hard drive)
But now I have the following problem: Both in the "master" branch as well as in the "backup_2021-02-13" branch, I cannot see the previously pending changes: I can't see them on the backup branch because they have already been committed (yes, the changes are there, but already committed). I can't see them on the master branch because there, these changes do not exist at all.
But I want to continue working as if the backup process never happened (with all uncommitted changes still being uncommitted).
So, what I did was, I merged the changes from the backup branch to the master branch (no-commit, ff-only, squash). This way, I have my uncommitted changes in the master branch as uncommitted changes, as it was before any backup work.
But I doubt that this is the normal way of doing this.
So, what is the correct (and easiest) way to backup local uncommitted changes to a remote repository, but at the same time leaving the current (master) branch as it is (with all the uncommitted changes still being uncommitted)?
...ANSWER
Answered 2021-Feb-13 at 17:35Your process is ok. After switching to master
you just need to restore changes committed in the backup branch:
QUESTION
We use TFS shelvesets to perform code reviews in our team. Now we plan to run SonarQube to analyze our code and simplify code review.
I need to configure webhook of something else to run SonarQube. But TFS allows this for changesets but not for shelvesets. We use TFSC for version control and can't migrate to GIT to use pull request.
Does anybody solve this or similar task? How can I implement this functionality?
...ANSWER
Answered 2017-Aug-08 at 09:03We cannot achieve that.
The changeset will be submitted when check in the changes, and CI build will be automatically triggered with the latest changeset version but not the Shelveset. And the changes with Shelveset are not really checked in, it will not trigger the CI build.
Besides, For TFVC the services (including webhook) only support Code checked in
event, but the shelveset changes are not really checked in. See Team Services service hooks events for details.
So, as you said TFS only allows this for changesets.
The SonarQube extension is very helpful to track the code smells, you can see Microsoft DevOps Blog to know about that.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install tfsc
You can use tfsc like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page