Code Monkey home page Code Monkey logo

Comments (4)

udit-gulati avatar udit-gulati commented on July 17, 2024

Hi @rnbguy,

Cloning https://github.com/informalsystems/atomkraft-cosmos does include .atomkraft/ dir and atomkraft command does identify it as valid project.

If a project does not have these 3 toml config files, then giving user the prompt to populate these config files with default config might work. Or this can be done in atomkraft init . after doing cd <projectDir> just like git init . does.

from atomkraft.

rnbguy avatar rnbguy commented on July 17, 2024

hey @udit-gulati , cloning a fresh atomkraft-cosmos works fine at my end, but I only tried the main branch. can you share any details of your set up?

from atomkraft.

udit-gulati avatar udit-gulati commented on July 17, 2024

This creates problems when someone tries to git-clone a project and execute atomkraft in it.

You are outside of Atomkraft project
...

I suggest checking only for a valid atomkraft.toml in a directory.

@rnbguy it works fine on my end too. I was just mentioning that git cloning atomkraft-cosmos does include .atomkarft/ directory so this issue does not occur.

from atomkraft.

rnbguy avatar rnbguy commented on July 17, 2024

ah yes, you're right - I misread your comment.

When I created atomkraft-cosmos I was aware of this, so I manually fixed it by creating an empty .atomkraft/config.toml.

Thanks for your suggestions. We wanted .atomkraft/config.toml to represent the local atomkraft project config and execution state. That's why we wanted to exclude it from git history. So prompting the user when it is not present is a good idea 👍 Thanks

from atomkraft.

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.