Coder Social home page Coder Social logo

Comments (2)

isanae avatar isanae commented on September 17, 2024

and is not updated (as far as I can tell) when doing a simple mob build super

Everything should be updated and pulled every time unless no_pull is set for it.

Add an option (maybe under super task) to not create the "main" repository.

If I understand correctly, mob -d prefix -s super:task/enabled=false build should do that, no? You can also set enabled=false in [super:task] in an ini. But I'm not sure I understand what you're asking for.

the following repository are not added as submodules currently

I see all of them in modorganizer_super/.git/config, except for installer. Can you check what you have in there? For installer, it's a different task type than all the others (it's not a cmake+msbuild) and so doesn't have the code to add the submodule. I'll fix it.

from mob.

Holt59 avatar Holt59 commented on September 17, 2024

I am really talking about the local git repository that contains all the submodules, not the repositories containing the project. Basically, I would like an option to not have modorganizer_super\.git (modorganizer_super would be a simple directory).

Everything should be updated and pulled every time unless no_pull is set for it.

The projects are updated, but the submodules are not staged in the main repositories, so you end up with this kind of output:

❯ git status
On branch master

No commits yet

Changes to be committed:
  (use "git rm --cached <file>..." to unstage)

        new file:   .gitmodules
        new file:   archive
        new file:   bsa_extractor
        new file:   bsapacker
        new file:   bsatk
        new file:   check_fnis
        new file:   cmake_common
        new file:   diagnose_basic
        new file:   esptk
        new file:   game_enderal
        new file:   game_fallout3
        new file:   game_fallout4
        new file:   game_fallout4vr
        new file:   game_falloutnv
        new file:   game_features
        ...

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)
  (commit or discard the untracked or modified content in submodules)

        modified:   archive (untracked content)
        modified:   bsatk (untracked content)
        modified:   esptk (untracked content)
        modified:   game_features (untracked content)
        modified:   game_gamebryo (untracked content)
        ...

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        fnistool/
        form43_checker/
        installer/
        installer_omod/
        preview_dds/
        tool_configurator/

I personally don't mind having the changes never commited in the main local repository, but it's just makes e.g., posh-git, very slow.

I see all of them in modorganizer_super/.git/config, except for installer. Can you check what you have in there? For installer, it's a different task type than all the others (it's not a cmake+msbuild) and so doesn't have the code to add the submodule. I'll fix it.

I definitively do not have the one untracked above in .git\config.

If I understand correctly, mob -d prefix -s super:task/enabled=false build should do that, no? You can also set enabled=false in [super:task] in an ini. But I'm not sure I understand what you're asking for.

Doesn't this simply disable everything under modorganizer_super? I tried deleting modorganizer_super\.git and modorganizer_super\.gitmodules and then running:

mob -s super:task/enabled=false build modorganizer

And the local repository was re-created, so I don't think that solves the problem.

from mob.

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.