Find Jobs
Hire Freelancers

Convert Git commands

$250-750 NZD

Closed
Posted almost 4 years ago

$250-750 NZD

Paid on delivery
I have a python script which currently runs on git but it needs to be converted to running with TFVC sometimes known as TFS version control The script needs to run in the same way as it does for TFVC as it does for Git and needs to work for shelvesets and changesets These are the commands that need to be translated: # COMMAND TEMPLATES COMMAND_REF_LIST = u"git for-each-ref" COMMAND_COMMIT_SHA_LIST = u"git log --reverse --pretty=format:'%H' {}..{}" COMMAND_TAG_COMMIT_SHA_LIST = u"git log --reverse --pretty=format:'%H' {}" COMMAND_REMOTES_COMMIT_SHA_LIST = u"git log --reverse --pretty=format:'%H' --remotes='*/{}'" COMMAND_HEADS_COMMIT_SHA_LIST = u"git log --reverse --pretty=format:'%H' --branches='*{}'" COMMAND_COMMIT_LIST = u"git show --reverse --first-parent --raw --numstat --abbrev=40 --full-index -p -M --pretty=format:'Commit:\t%H%nDate:\t%ai%nTree:\t%T%nParents:\t%P%nAuthor:\t%an\t%ae\t%ai%nCommitter:\t%cn\t%ce\t%ci%nMessage:\t%s%n' {}" if is_windows: COMMAND_COMMIT_LIST = [login to view URL]('\'', '') COMMAND_COMMIT_LIST = [login to view URL]('\t', '%x09') COMMAND_TAGGER = u"git for-each-ref --format='%(taggername)\t%(taggeremail)' refs/tags/{}" COMMAND_COMMIT_FILE_BLAME = u"git blame {}^ -L {},{} -- {}" COMMAND_COMMIT_FILE_BLAME_FIX = u"git log --pretty=%H -1 {}^ -- {}" COMMAND_COMMIT_BRANCH = u"git branch --contains {}" COMMAND_COMMIT_REMOTES = u"git branch -r --contains {}" COMMAND_FILE_TREE = u"git diff --name-only {} {}" # PATTERNS RE_OCTAL_BYTE = [login to view URL](br"""\\\\([0-9]{3})""") RE_COMMIT_HEADER = [login to view URL]( br"""^Commit:\t(?P<sha>[0-9A-Fa-f]+)\nDate:\t(?P<date>.*)\nTree:\t(?P<tree>[0-9A-Fa-f]+)\nParents:\t(?P<parents>.*)\nAuthor:\t(?P<author>.*)\nCommitter:\t(?P<committer>.*)\nMessage:\t(?P<message>.*)?(?:\n\n|$)?(?P<file_stats>(?:^:.+\n)+)?(?P<file_numstats>(?:.+\t.*\t.*\n)+)?(?:\n|\n\n|$)?(?P<patch>(?:diff[ ]--git(?:.+\n)+)+)?(?:\n\n|$)?""", [login to view URL] | [login to view URL]) RE_COMMIT_DIFF = [login to view URL]( br"""^diff[ ]--git[ ](?P<a_path_fallback>"?a/.+?"?)[ ](?P<b_path_fallback>"?b/.+?"?)\n(?:^old[ ]mode[ ](?P<old_mode>\d+)\n^new[ ]mode[ ](?P<new_mode>\d+)(?:\n|$))?(?:^similarity[ ]index[ ]\d+%\n^rename[ ]from[ ](?P<rename_from>.*)\n^rename[ ]to[ ](?P<rename_to>.*)(?:\n|$))?(?:^new[ ]file[ ]mode[ ](?P<new_file_mode>.+)(?:\n|$))?(?:^deleted[ ]file[ ]mode[ ](?P<deleted_file_mode>.+)(?:\n|$))?(?:^index[ ](?P<a_blob_id>[0-9A-Fa-f]+)\.\.(?P<b_blob_id>[0-9A-Fa-f]+)[ ]?(?P<b_mode>.+)?(?:\n|$))?(?:^---[ ](?P<a_path>[^\t\n\r\f\v]*)[\t\r\f\v]*(?:\n|$))?(?:^\+\+\+[ ](?P<b_path>[^\t\n\r\f\v]*)[\t\r\f\v]*(?:\n|$))?""", [login to view URL] | [login to view URL]) RE_COMMIT_BRANCH = [login to view URL]( br"""(refs/(remotes/)?origin/)?(\*\s)?(?P<branch>.*)""", [login to view URL] | [login to view URL]) RE_TAGGER = [login to view URL](br"""(?P<username>.*)\t(?P<email>.*)""") RE_SHA = [login to view URL](br"""\b[0-9a-f]{5,40}\b""")
Project ID: 26470451

About the project

5 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $535 NZD for this job
User Avatar
Hello, sir I am a full-time full-service web developer. I have read your project carefully and got your requirements. I am a senior web developer who has 6 years of experience in python. I've developed over 50+ websites ,web application and web services,and all of my clients were satisfied with my working result. I hope to work long term with you. Waiting for your positive response. Best regards
$500 NZD in 7 days
5.0 (4 reviews)
4.4
4.4
User Avatar
Hi, I CAN START WORK ON IT IMMEDIATELY. AS i check you details that you need to Convert Git commands, i will do it for you I can perform both front-end and back-end responsibilities. I will do this job as per your expectation, I have more than 7 year experience in SQL, Ajax, OOPS, Smarty, Vtiger CRM, HRM, core PHP, codeigniter framework, zend framework, cakePHP, Magento, wordpress, drupal and software design and testing. hope you will give me this opportunity to serve you best thanks & regards Munish g
$750 NZD in 2 days
5.0 (2 reviews)
3.0
3.0
User Avatar
Hi, I got acquainted with your requirements. I understand the essence perfectly since. I will be glad to work with you. I propose to discuss in more detail of your project, I look forward to our cooperation. I have more than 5 years of experience as a Full Stack Developer. I am specialised in Python, ionic development, PHP Web Applications Development, Laravel, Codeigniter, Performance Optimization, Scrapping Web & Scalable Development. I'll wait for your answer in the chat. Regards, Jay Shah
$677 NZD in 15 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of NEW ZEALAND
Auckland, New Zealand
0.0
0
Member since Jul 7, 2020

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.