Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long feeds not working - we need pagination #223

Closed
haf opened this issue Oct 6, 2014 · 17 comments
Closed

Long feeds not working - we need pagination #223

haf opened this issue Oct 6, 2014 · 17 comments

Comments

@haf
Copy link
Member

haf commented Oct 6, 2014

Still not working:

Paket failed with:

Error in resolution.
  Resolved:
  Con't resolve:
    - Intelliplan.Example 1.3.276
 Please try to relax some conditions.

With file

source https://example.com/httpAuth/app/nuget/v1/FeedService.svc username: "notty" password: "snip"
nuget Intelliplan.Example 1.3.276%

despite that package existing. TC 8.1.4. I think I'm following the docs properly.

@forki
Copy link
Member

forki commented Oct 6, 2014

@agross didn't we solve this?

@haf - could you please run paket update -v -f with 0.4.25? Thanks.
BTW: nuget Intelliplan.Example 1.3.276% - is the % sign a copy/paste bug or is it really in the dependencies file?

@agross
Copy link
Contributor

agross commented Oct 6, 2014

@forki Yes we did. Can't test right now, worked last week without issues.

Alex

Alexander Groß
Tiny phone, tiny mail

On Mon, Oct 6, 2014 at 4:12 PM, Steffen Forkmann [email protected]
wrote:

@agross didn't we solve this?
@haf - could you please run paket update -v -f with 0.4.25? Thanks.

BTW: nuget Intelliplan.Example 1.3.276% - is the % sign a copy/paste bug or is it really in the dependencies file?

Reply to this email directly or view it on GitHub:
#223 (comment)

@haf
Copy link
Member Author

haf commented Oct 6, 2014

I haven't been able to test until now. I'll see when I have more time, will be back with output from your commands.

@agross
Copy link
Contributor

agross commented Oct 6, 2014

@forki Tested against TeamCity, still working for me.

@haf
Copy link
Member Author

haf commented Oct 6, 2014

paket.exe update -v -f
Paket version 0.4.26.0
Parsing paket.dependencies
Resolving packages:
  - fetching versions for Intelliplan.Configuration
Paket failed with:

Error in resolution.
  Can't resolve:
    - Intelliplan.Configuration 1.3.276
 Please try to relax some conditions.
StackTrace:
    at Paket.PackageResolver ResolvedPackages.GetModelOrFail () [0x00000] in <filename unknown>:0
  at Paket.UpdateProcess.Update (System.String dependenciesFileName, Boolean forceResolution, Boolean force, Boolean hard) [0x00000] in <filename unknown>:0
  at Paket.Program [email protected] (Microsoft.FSharp.Core.Unit unitVar) [0x00000] in <filename unknown>:0
  at <StartupCode$paket>.$Paket.Program.main@ () [0x00000] in <filename unknown>:0

@agross
Copy link
Contributor

agross commented Oct 6, 2014

Are using TeamCity as well? Which version?

@haf
Copy link
Member Author

haf commented Oct 6, 2014

Version 8.1.4 (build 30168)

Perhaps it's a parsing issue? Can the verbose mode print what request it's sending?

@haf
Copy link
Member Author

haf commented Oct 6, 2014

And can you give an example of your working paket.dependencies-file?

@agross
Copy link
Contributor

agross commented Oct 6, 2014

You can check with fiddler, I think that'll help us a lot.

Alex

Alexander Groß
Tiny phone, tiny mail

On Mon, Oct 6, 2014 at 8:24 PM, Henrik Feldt [email protected]
wrote:

And can you give an example of your working paket.dependencies-file?

Reply to this email directly or view it on GitHub:
#223 (comment)

@forki
Copy link
Member

forki commented Oct 6, 2014

The stacktrace indicate that the communication with teamcity succeeded.
Auth seems to work. Can you try to intercept the response xml? Not really
an expert here, but I assume fiddler will help. Maybe we simply can't parse
it correctly.
On Oct 6, 2014 8:24 PM, "Henrik Feldt" [email protected] wrote:

And can you give an example of your working paket.dependencies-file?


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

@haf
Copy link
Member Author

haf commented Oct 6, 2014

I think you aren't paginating, because the result is on the nth page (many builds) of the atom feed that is returned (it seems to produce a well formed XML result).

Also, the first request is a 404, but I hardly think that matters; it's an "optimisation" for those servers that support it, I suppose.

screen shot 2014-10-06 at 21 17 33

@forki
Copy link
Member

forki commented Oct 6, 2014

Thanks a lot.

Yes the first 404 is for probing faster api.

Any ideas for a good pagination strategy? Can we discover whether there
more pages and the url?
On Oct 6, 2014 9:18 PM, "Henrik Feldt" [email protected] wrote:

I think you aren't paginating, because the result is on a second page
(many builds).

Also, the first request is a 404, but I hardly think that matters; it's an
"optimisation" for those servers that support it, I suppose.

[image: screen shot 2014-10-06 at 21 17 33]
https://cloud.githubusercontent.com/assets/193115/4531812/79c8ac78-4d8d-11e4-8a65-4f617eb118d3.png


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

@haf haf changed the title Authentication not working Private, long, feeds not working Oct 6, 2014
@haf
Copy link
Member Author

haf commented Oct 6, 2014

Just follow the next link.

screen shot 2014-10-06 at 21 28 53

http://tools.ietf.org/html/rfc5005

I tried to help you by customizing the filter to a version, directly, but when the syntax parses correctly (and I'm not getting Java-stacktraces from TC) then there are no entries. I might have the wrong OData (?) syntax though, but I'm not inclined at this point to dive deeper into the details of this MSFT-only format =)

@forki
Copy link
Member

forki commented Oct 6, 2014

Thanks.

Did you just say nuget uses it's own OData format?

@haf
Copy link
Member Author

haf commented Oct 6, 2014

No, don't quote me on that, please ;) I know it's atom from browsing the XML. I'm just being a bit miserable this evening.

@forki
Copy link
Member

forki commented Oct 6, 2014

Lol. Will look into this tomorrow.

@forki forki changed the title Private, long, feeds not working Long feeds not working - we need pagination Oct 7, 2014
@forki forki closed this as completed in aa6ee60 Oct 7, 2014
@forki
Copy link
Member

forki commented Oct 7, 2014

could you both please retry 0.4.27?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants