Coder Social home page Coder Social logo

Comments (9)

ip2location avatar ip2location commented on June 28, 2024 1

Hi @anuruddhal,

Thanks for the tips, we had manually edit it in our Bala file and managed to push to the Central. Hope to see the fix.

from ballerina-lang.

anuruddhal avatar anuruddhal commented on June 28, 2024

@ip2location I tried pushing the package and I couldn't reproduce the issue. I was able to publish the package successfully under my organization.

from ballerina-lang.

anuruddhal avatar anuruddhal commented on June 28, 2024

@ip2location
We were able to reproduce the issue in a Windows machine. The issue is with the icon path in package.json in .bala file.

The path is as below in windows.

"icon": "docs\\icon.png",

Where is should be

"icon": "docs/icon.png",

We will add a fix for this. As a workaround you can manually modify the package.json file in the .bala file and push it to Central.

from ballerina-lang.

ShammiL avatar ShammiL commented on June 28, 2024

When we do a bal pack on a package from a Windows machine, the icon path would be recorded in the Package.json file as "docs\icon.png" using the file separator specific for Windows.
But when we try to push this package to Central, validations to check the icon path fails as the OS is different from the Central side and the icon path recorded is no longer a proper file path.
We are looking into the best way to fix this and will provide a fix in a release soon to come.

from ballerina-lang.

ShammiL avatar ShammiL commented on June 28, 2024

ballerina-platform/ballerina-release#2699

from ballerina-lang.

github-actions avatar github-actions commented on June 28, 2024

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

from ballerina-lang.

ShammiL avatar ShammiL commented on June 28, 2024

This issue has been fixed in #42843 and will be available in release 2201.9.1

from ballerina-lang.

ShammiL avatar ShammiL commented on June 28, 2024

ballerina-platform/ballerina-release#2631

from ballerina-lang.

github-actions avatar github-actions commented on June 28, 2024

This issue is NOT closed with a proper Reason/ label. Make sure to add proper reason label before closing. Please add or leave a comment with the proper reason label now.

      - Reason/EngineeringMistake - The issue occurred due to a mistake made in the past.
      - Reason/Regression - The issue has introduced a regression.
      - Reason/MultipleComponentInteraction - Issue occured due to interactions in multiple components.
      - Reason/Complex - Issue occurred due to complex scenario.
      - Reason/Invalid - Issue is invalid.
      - Reason/Other - None of the above cases.

from ballerina-lang.

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.