Coder Social home page Coder Social logo

integrity2git's People

Contributors

xenuiswatching avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

integrity2git's Issues

When retargeting sandbox to a new revision, it hard codes the project source file name to be 'project.pj' rather than the *.pj file used for input

D:\Repositories_Git\LIPS>d:\Python27\python d:\Python27\PTC2Git\mks_checkpoints_to_git.py d:\MKS_projects\P18000\LifecycleInstallProps\LIPS.pj | git fast-import
Connecting to s306a57:7001 ...
Connecting to s306a57:7001 as 8xxxx0 ...
Connecting to s306a57:7001 ...
Connecting to s306a57:7001 as 8xxxx0 ...
Connecting to s306a57:7001 ...
Connecting to s306a57:7001 as 8xxxx0 ...
Creating build sandbox...
D:\Repositories_Git\LIPS\tmp\LIPS.pj
Resynchronizing files...
Connecting to s306a57:7001 ...
Connecting to s306a57:7001 as 8xxxx0 ...
D:\Repositories_Git\LIPS\tmp/project.pj
Failed to retarget sandbox D:\Repositories_Git\LIPS\tmp/project.pj: Retarget failed: The specified sandbox is not registered
as a top level sandbox

Branch name doesn't conform to GIT standards

Hi

We are using this script to migrate source code from PTC integrity to git using python 3.7.
Getting below mention error.
error: fatal Branch name doesn't conform to GIT standards: refs/heads/master

We are getting this error for command script: print('commit refs/heads/master') given in the script.

we assume that print function is adding \r\n @ the end of the branch name. So, tried below mentioned solutions for the same:

  1. Tried adding end='' in the print command
  2. Logging info
  3. sys.stdout.write in place of print function
  4. updated the script to:
    if platform.system() == 'Windows':
    import msvcrt, os
    msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)

Kindly help in this issue!!!!!!!!!!!!!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.