session icon indicating copy to clipboard operation
session copied to clipboard

Asynchronous session id generation

Open soulman-is-good opened this issue 10 years ago • 9 comments

That's a project specific matter, but I have few of this projects that uses third-party unique generation mechanism, so I added a callback in session id generation.

Then I read #107 issue and tried to make it backward-compatible so sync functions would pass.

soulman-is-good avatar Feb 11 '15 20:02 soulman-is-good

Thanks! It looks like there may be some issue, because one of the existing tests are failing.

dougwilson avatar Feb 11 '15 20:02 dougwilson

My bad, missed the tests!

soulman-is-good avatar Feb 11 '15 20:02 soulman-is-good

Man, if you never ran the tests, one failure is pretty good.

dougwilson avatar Feb 11 '15 20:02 dougwilson

@soulman-is-good Thanks for tackling this! This is something I really need for a project myself. Will you have a chance to resolve the merge conflicts anytime soon?

dwhieb avatar Aug 27 '16 23:08 dwhieb

would be really useful to have this... +1

derMart avatar Sep 30 '16 12:09 derMart

So I'm not sure what is happening, because the changes are all over the place. There is unresolved merge conflicts I see from a question a few months ago, and a lot of the things about the PR are not backwards compatible, so would need to be deferred until the next major.

I do need to come and review this, though, to at least prepare it for the next major. @soulman-is-good are you still interested in this PR? Would you be able to re-squash it on top of the current master for me?

dougwilson avatar Oct 01 '16 00:10 dougwilson

Geez, seems I just f*cked up git's history here.

@dougwilson I can make another, clean and up-to-date, PR for this issue from your approval Sorry for that.

soulman-is-good avatar Oct 02 '16 20:10 soulman-is-good

Weird, not sure what happened with the PR :S I just had another user with a similar and resetting the branch completely fixed it, without ever needed to make a new PR.

Assuming the mess may be from merge commits if you merged instead of rebased, you may be able to fix it with the following commands (it assumes you have this repository set as the upstream remote):

$ git checkout master
$ git fetch upstream
$ git reset --hard upstream/master
$ git checkout -f . HEAD@{1}
$ git commit -a
# Validate your commit contents; "git reset --hard c19b52d" to abort
$ git push -f # if the commit looks good

dougwilson avatar Oct 04 '16 04:10 dougwilson

What happened with this one? I still think it's a good option to be able to asynchronously generete the session id...

michelcve avatar Feb 25 '19 10:02 michelcve