Skip to content

Gui to modify .stignore #502

Closed
Closed

Description

@svrnwnsch

There should be a GUI to modify .stignore currently I cant find any hint from the GUI that it is possible to ignore files for syncing.

Activity

  1. calmh commented on Aug 11, 2014

    @calmh
    Member

    Yep.

  2. calmh commented on Aug 26, 2014

    @calmh
    Member

    @marcindziadus Sounds mostly OK to me, with the exception of #424 which needs to be handled somehow - having the patterns in the config might make it trickier. The patterns could be sent with the index data or something, but it's a bigger change, needs some thinking.

    That said, #426 is resolved and I think most of the effort here is probably in the GUI part, so an editor that saves to $REPOROOT/.stignore sounds like a good start?

  3. AudriusButkevicius commented on Aug 26, 2014

    @AudriusButkevicius
    Member

    I feel that ignore part should be in the config.xml (subject there is a UI to back that up), as it feels that that is the place where it should be (in the configuration section of the repo)?

    Just encode the patterns with base64 to make it XML friendly.

  4. calmh commented on Aug 26, 2014

    @calmh
    Member

    Just encode the patterns with base64 to make it XML friendly.

    Please don't, human editable is a win. :) <, > and & will be encoded by the XML serializer, but shouldn't be that common anyhow.

  5. AudriusButkevicius commented on Aug 26, 2014

    @AudriusButkevicius
    Member

    So quoting having the patterns in the config might make it trickier. - what's so tricky about it?
    Is there any reason you'd go with .stignore over something which is part of the config?

  6. calmh commented on Aug 26, 2014

    @calmh
    Member

    The issues I see are more around syncing patterns between nodes. Currently, there's a file (or a bunch of files) and the behavior is well defined. As for the GUI, where exactly it saves the patterns shouldn't matter.

  7. AudriusButkevicius commented on Aug 26, 2014

    @AudriusButkevicius
    Member

    Well, as far as I understand he is not suggesting to implement syncing patterns between nodes here.
    He is just suggesting making an editor for the web UI?

    And while he's at it, I think it'd be nice to scrap .stignore in favor of the ignores being part of the config now that we can do that (since we support **)

  8. calmh commented on Aug 26, 2014

    @calmh
    Member

    We can do that, but then we must also implement the syncing part. Currently, a trivial way to implement synced .stignores is to have the ignores in a file called "global-ignores" or something and let .stignores be a symlink to it. Maybe noone does that apart from me, but we break that possibility if we remove the file.

  9. calmh commented on Aug 26, 2014

    @calmh
    Member

    Anyway, I don't see the question of where exactly we store the patterns affecting the GUI implementation much. Whichever way we go, the code will dump a slice of strings somewhere and hopefully get it back again. :)

  10. AudriusButkevicius commented on Aug 26, 2014

    @AudriusButkevicius
    Member

    If we solve #424, we solve your global-ignores symlink hack ;)

  11. AudriusButkevicius commented on Sep 22, 2014

    @AudriusButkevicius
    Member

    Dear Github,

    Why do I need to do your job?
    Fixed by #721.

  12. calmh commented on Sep 23, 2014

    @calmh
    Member

    @AudriusButkevicius Because you're not tagging your commit messages properly. :)

  13. added
    frozen-due-to-age
    on Jun 17, 2017
  14. locked and limited conversation to collaborators on Jun 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementfrozen-due-to-age

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions