Giter Site home page Giter Site logo

Comments (2)

RMichaelSwan avatar RMichaelSwan commented on August 26, 2024

There was a note during today's meeting about how people were committing back and forth small changes to some base configuration file (relating to the file mentioned in this issue). We want the file to be committed as some base version, but we don't want our unique version to necessarily be included in commits that are made. To do this for files which are tracked by git, .gitignore will not work. Instead, you have to make git assume that the indexed file has not changed, thus ignoring any changes you make to the file until you undo the setting.

In order ignore changed to a tracked file: git update-index --assume-unchanged <file>
In order to undo it: git update-index --no-assume-unchanged <file>
To get a list of files that have this option set: git ls-files -v|grep '^h'

Note: One thing that needs testing is whether this setting gets pushed to the repo for everyone or only works locally.

Source: https://stackoverflow.com/questions/17195861/undo-git-update-index-assume-unchanged-file

from harmoni.

RMichaelSwan avatar RMichaelSwan commented on August 26, 2024

Fixed in recent commit: a0d9664
This was done by enabling parsing of substitution args in relevant launch/test files in the offending yaml files and then inserting relative/env args inplace. Note use of subst_value.

launch file:

<rosparam file="$(find harmoni_pattern)/config/configuration.yaml" subst_value="True"/>

config yaml:

credential_path: "$(env HOME)/.gcp/private-keys.json"

from harmoni.

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.