Giter Site home page Giter Site logo

Comments (23)

lholznagel avatar lholznagel commented on August 16, 2024

I just Testet it and when I commit something the cloud icon don´t shows up. When I now press on Push it pushes the commit like expected.

Atom: 0.166.0-25b44ce (builded on the master branch)
OS: Linux Mint 17
apm: 0.116.0
npm: 1.4.4
node: 0.10.33
python: 2.7.6
git 1.9.1

from atom-git-control.

jacogr avatar jacogr commented on August 16, 2024

@mark-hahn Definitely sounds like an issue. The "cloud icon" and "push button" should be in-sync. I'll need to walk through this.

@KapuzenSohn Bit harder to trace yours, but I'll walk through the scenarios to see if I can come up with anything related.

from atom-git-control.

mark-hahn avatar mark-hahn commented on August 16, 2024

The "cloud icon" and "push button" should be in-sync.

The push button is enabled so the display is in sync. The push button just
doesn't do anything.

Let me know how I can help.

On Sun, Jan 4, 2015 at 10:10 PM, Jaco Greeff [email protected]
wrote:

@mark-hahn https://github.com/mark-hahn Definitely sounds like an
issue. The "cloud icon" and "push button" should be in-sync. I'll need to
walk through this.

@KapuzenSohn https://github.com/KapuzenSohn Bit harder to trace yours,
but I'll walk through the scenarios to see if I can come up with anything
related.


Reply to this email directly or view it on GitHub
#7 (comment)
.

from atom-git-control.

jacogr avatar jacogr commented on August 16, 2024

Ouch. Weird. It should push. Don't have any bright ideas immediately, but I'll look through and see what I can come up with.

from atom-git-control.

mark-hahn avatar mark-hahn commented on August 16, 2024

Am I supposed to select something like a branch before clicking on push? I
tried selecting everything with no luck.

On Sun, Jan 4, 2015 at 10:15 PM, Jaco Greeff [email protected]
wrote:

Ouch. Weird. It should push. Don't have any bright ideas immediately, but
I'll look through and see what I can come up with.


Reply to this email directly or view it on GitHub
#7 (comment)
.

from atom-git-control.

jacogr avatar jacogr commented on August 16, 2024

It really shouldn't be any different from what you would normally do -

  1. Make changes
  2. Select files to commit
  3. Commit
  4. Push

Between 2 & 3 the push button becomes active, clicking it should just push. (No real feedback apart from the little log window, but push should push.)

from atom-git-control.

mark-hahn avatar mark-hahn commented on August 16, 2024

OK, that's what I'm trying to do. The log last line says ...

> git -c push.default=simple push --porcelain

On Sun, Jan 4, 2015 at 11:08 PM, Jaco Greeff [email protected]
wrote:

It really shouldn't be any different from what you would normally do -

  1. Make changes
  2. Select files to commit
  3. Commit
  4. Push

Between 2 & 3 the push button becomes active, clicking it should just
push. (No real feedback apart from the little log window, but push should
push.)


Reply to this email directly or view it on GitHub
#7 (comment)
.

from atom-git-control.

jacogr avatar jacogr commented on August 16, 2024

So it does try to do the push. (There should probably be some indicator that it is busy)

Once the push is completed, it should either (a) report the error (if anything fails) or (b) do a status and render the push button inactive.

from atom-git-control.

mark-hahn avatar mark-hahn commented on August 16, 2024

I just committed, clicked on push, and waited several minutes. That log
line just sits there. No error and the push doesn't happen and the push
button stays enabled. Nothing appears in my github repo.

On Sun, Jan 4, 2015 at 11:16 PM, Jaco Greeff [email protected]
wrote:

So it does try to do the push. (There should probably be some indicator
that it is busy)

Once the push is completed, it should either (a) report the error (if
anything fails) or (b) do a status and render the push button inactive.


Reply to this email directly or view it on GitHub
#7 (comment)
.

from atom-git-control.

jacogr avatar jacogr commented on August 16, 2024

image

It is actually quick, nothing more than a second or two. So for some reason it doesn't return from the push. I'll need to see how I can get more info from that part of the process, basically calling into git-promise

from atom-git-control.

mark-hahn avatar mark-hahn commented on August 16, 2024

I was playing around and I did a compare and it failed with this error ...

> git --no-pager diff

Cannot read property 'push' of undefined

There is something in my setup or repo making this happen. You can get my
repo at https://github.com/mark-hahn/node-ide

On Sun, Jan 4, 2015 at 11:30 PM, Jaco Greeff [email protected]
wrote:

[image: image]
https://cloud.githubusercontent.com/assets/1424473/5610285/3033e4de-94bd-11e4-9f62-f247a908d1fa.png

It is actually quick, nothing more than a second or two. So for some
reason it doesn't return from the push. I'll need to see how I can get more
info from that part of the process, basically calling into git-promise


Reply to this email directly or view it on GitHub
#7 (comment)
.

from atom-git-control.

jacogr avatar jacogr commented on August 16, 2024

Thank you, will grab it and see if I can reproduce.

If you do it via the command-line, does a "git push" work?

from atom-git-control.

mark-hahn avatar mark-hahn commented on August 16, 2024

I found the problem. When git-control wasn't working I used SourceTree and
it worked fine. I just now tried git push on the command line and it
asked for a login. So it must be doing the same thing when I click the
push button. It just doesn't show me any indication that is happening.

SourceTree must be keeping it's own login to use. This problem is
surprising since I have used the command line recently with no problem.

I'll fix this now. I'll google how to set the login in git permanently.
(grin)

Sorry for your trouble. Consider this a feature request to show everything
the git command puts out in the log. Specifically the login request.

On Sun, Jan 4, 2015 at 11:38 PM, Jaco Greeff [email protected]
wrote:

Thank you, will grab it and see if I can reproduce.

If you do it via the command-line, does a "git push" work?


Reply to this email directly or view it on GitHub
#7 (comment)
.

from atom-git-control.

jacogr avatar jacogr commented on August 16, 2024

Ahh, ok.

I think the prompt info is not returned from the git package I use, I'll figure out a way around this. Going to try and get it reproduced so I can work on a way of addressing this.

from atom-git-control.

mark-hahn avatar mark-hahn commented on August 16, 2024

Yeah. I think others may run into it also. Maybe there is some test that
can be done when git-control first loads to check whether origin can be
reached.

Did you ever see
https://discuss.atom.io/t/shout-out-for-package-git-control/13978 ?

On Sun, Jan 4, 2015 at 11:53 PM, Jaco Greeff [email protected]
wrote:

Ahh, ok.

I think the prompt info is not returned from the git package I use, I'll
figure out a way around this. Going to try and get it reproduced so I can
work on a way of addressing this.


Reply to this email directly or view it on GitHub
#7 (comment)
.

from atom-git-control.

jacogr avatar jacogr commented on August 16, 2024

Saw the thread now, thank you :)

Was actually inspired quite a bit via SourceTree, certainly replaced most of my use of the tool as well. (There are some stuff which I still do in SourceTree, eventually I hope to get all my use in here.)

from atom-git-control.

mark-hahn avatar mark-hahn commented on August 16, 2024

Saw the thread now, thank you :)

I love sourcetree which must be why I like yours.

I'm not sure why I prefer using your in-atom solution instead of just
clicking outside to sourcetree. I did a package called web-browser which
is a very rudimentary browser. When I was chatting about doing it everyone
said "why would you use that instead of just clicking on a real browser?".
I didn't have an answer. But that package got over a thousand downloads in
a month or two.

I hope to get all my use in here

If you could tag a commit then you would have everything needed to publish
a package.

I have a bunch of feature requests for you which I will enter when I get
the time. Simple stuff like ctrl-enter doing the commit when putting in
the commit message. When I'm done with this massive package I'm on right
now I'll submit some PRs.

On Mon, Jan 5, 2015 at 12:42 AM, Jaco Greeff [email protected]
wrote:

Saw the thread now, thank you :)

Was actually inspired quite a bit via SourceTree, certainly replaced most
of my use of the tool as well. (There are some stuff which I still do in
SourceTree, eventually I hope to get all my use in here.)


Reply to this email directly or view it on GitHub
#7 (comment)
.

from atom-git-control.

jacogr avatar jacogr commented on August 16, 2024

Ok, no closer to actually solving the "prompt issue". Basically using the git-promise package (very small) as a wrapper around git via shellex. This one doesn't currently handle inputs well/at all.

Looking at my options here, will either just wrap git myself or PR git-promise, however just need to test and find something that works first.

from atom-git-control.

mark-hahn avatar mark-hahn commented on August 16, 2024

I wouldn't spend much effort on this. Something in the docs might be nice.

On Tue, Jan 6, 2015 at 1:14 AM, Jaco Greeff [email protected]
wrote:

Ok, no closer to actually solving the "prompt issue". Basically using the
git-promise package (very small) as a wrapper around git via shellex. This
one doesn't currently handle inputs well/at all.

Looking at my options here, will either just wrap git myself or PR
git-promise, however just need to test and find something that works first.


Reply to this email directly or view it on GitHub
#7 (comment)
.

from atom-git-control.

cristianszwarc avatar cristianszwarc commented on August 16, 2024

Same issue here. My origin is a private bitbucket and I'm using a private key, git may be executed from another system user and therefore not using the correct ssh key?

steps:

  • command line: git status: nothing to commit (working directory clean)
  • small change on a file
  • git control detects the change, able to commit
  • click on push after the commit and got same msgs than mark-hahn
  • git status on command line shows all is ok (nothing new to commit again, 1 commit ahead)
  • git push origin master from command line works fine

from atom-git-control.

jacogr avatar jacogr commented on August 16, 2024

@cristianszwarc Thank you. I don't think it is due to being executed as somebody else, rather I don't believe the environment gets propagated properly.

I'll get the same setup as you going and try to see what is up.

from atom-git-control.

hellerbarde avatar hellerbarde commented on August 16, 2024

How to properly set up credential stores on Windows and Linux
Hope that helps anyone stumbling across this.

Is there anything we can do about notifying the user about this problem or asking them for a password?

from atom-git-control.

pradyunsg avatar pradyunsg commented on August 16, 2024

Bump.

How about mentioning/linking #42 (comment) in the README for the time-being. It'll be easier to discover there...

from atom-git-control.

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.