Coder Social home page Coder Social logo

Comments (6)

laher avatar laher commented on July 17, 2024

Hi Chrisluf,

Both sound like good suggestions. It was a while ago so I'm just looking at the API docs and I think I can see the problem with the 'downloads list' issue. It looks like we just need to append 'publish=1' to the upload url.

For the 'replace' feature there is a Publish/Discard function which I can invoke. I don't think the 'replace' feature should be automatic, so I wonder if a flag (and config entry) such as goxc bintray -replace=true would be the best bet.

I'll take a look and let you know

from goxc.

chrislusf avatar chrislusf commented on July 17, 2024

Thanks! For publish=1 change, let me know the API doc location, and I can make the change locally and test it also.

from goxc.

laher avatar laher commented on July 17, 2024

https://bintray.com/docs/api.html
See the section called 'Content Uploading & Publishing'
Cheers

On Sat, Mar 22, 2014 at 8:24 AM, chrislusf [email protected] wrote:

Thanks! For publish=1 change, let me know the API doc location, and I can
make the change locally and test it also.

Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-38313371
.

from goxc.

chrislusf avatar chrislusf commented on July 17, 2024

FYI: I tried to add ";publish=1" to the end of "PUT
/content/:subject/:repo/:package/:version/:file_path" http call. It did not
work as expected.

Chris

line 243:
url := apiHost + "/content/" + subject + "/" + repository + "/" + pkg + "/"

  • tp.Settings.GetFullVersionName() + "/" + relativePath + ";publish=1"

On Sat, Mar 22, 2014 at 11:26 PM, Am Laher [email protected] wrote:

https://bintray.com/docs/api.html
See the section called 'Content Uploading & Publishing'
Cheers

On Sat, Mar 22, 2014 at 8:24 AM, chrislusf [email protected]
wrote:

Thanks! For publish=1 change, let me know the API doc location, and I can
make the change locally and test it also.

Reply to this email directly or view it on GitHub<
https://github.com/laher/goxc/issues/38#issuecomment-38313371>

.

Reply to this email directly or view it on GitHubhttps://github.com//issues/38#issuecomment-38375299
.

from goxc.

laher avatar laher commented on July 17, 2024

Hmm, well it looks like the Downloads List isn't part of the API. Sorry!
The 'replace' feature is a go-er though. I'll let you know

from goxc.

laher avatar laher commented on July 17, 2024

Sorry, this project is now in maintenance mode - no new features unless received via Pull Request

from goxc.

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.