Giter Club home page Giter Club logo

Comments (5)

cbadici avatar cbadici commented on July 17, 2024

Hi, The push operation has been tested and it works. I would like to know more details about your scenario and how you configured your Git Backup Thing:
-Are you trying to push some files to an empty Git repository or to a repository where you already have some files? If you already have some files in the repository, you first need to pull them in thingworx...add your additional/modified files and then push it.
-What repository path are you using in your ThingWorx repository ? Try using a path like "/myproject" instead of the root path of the ThingWorx repository
-Have you tested the Push operation in the Mashup or also by executing the service in the Git Backup Thing?

from thingworx-gitbackup-extension.

danielvoilaLEGO avatar danielvoilaLEGO commented on July 17, 2024

Hi, The push operation has been tested and it works. I would like to know more details about your scenario and how you configured your Git Backup Thing:
-Are you trying to push some files to an empty Git repository or to a repository where you already have some files? If you already have some files in the repository, you first need to pull them in thingworx...add your additional/modified files and then push it.
-What repository path are you using in your ThingWorx repository ? Try using a path like "/myproject" instead of the root path of the ThingWorx repository
-Have you tested the Push operation in the Mashup or also by executing the service in the Git Backup Thing?

  1. I already have some files on the git. I did the pull first, and the pull works fine.
  2. I am already using a path like /entities instead of root path
  3. I tested Push operation in the Mashup but also in the Git Backup Thing. - same error

from thingworx-gitbackup-extension.

cbadici avatar cbadici commented on July 17, 2024

Thanks for sharing the information. One additional questions: are you using the latest Git extension on ThingWorx 9+ ? Please also share the version of the extension that you are using.

The error you provided can appear if the UserExtensions thing shape has not been initialized correctly. It is supposed to be initialized when you first open the Git Main Mashup. If you edit any user inside the Composer, can you let me know if it has the property "UseGitCommitUserValues" in the User Extensions?

from thingworx-gitbackup-extension.

danielvoilaLEGO avatar danielvoilaLEGO commented on July 17, 2024

Thanks for sharing the information. One additional questions: are you using the latest Git extension on ThingWorx 9+ ? Please also share the version of the extension that you are using.

The error you provided can appear if the UserExtensions thing shape has not been initialized correctly. It is supposed to be initialized when you first open the Git Main Mashup. If you edit any user inside the Composer, can you let me know if it has the property "UseGitCommitUserValues" in the User Extensions?

  1. Yes, I am using the latest Git Extension, version 4.1.0.

  2. I am not that expert in TWX. Maybe you can give me more details how can I do this?

from thingworx-gitbackup-extension.

cbadici avatar cbadici commented on July 17, 2024

In the ThingWorx Composer, click on Browse, click on Users and then select a User. Go to the UserExtensions tab and verify the list of properties displayed. There should be a property called "UseGitCommitUserValues"
I have attached a screenshot.

Also, I will close this issue since it doesn't represent a bug and the push operation has been verified and works as expected. If you have further questions about how to use the Git extension, you can contact me by e-mail, which is displayed in my profile.
image

from thingworx-gitbackup-extension.

Related Issues (20)

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.