Code Monkey home page Code Monkey logo

Comments (6)

celtic-coder avatar celtic-coder commented on September 17, 2024 1

Hi Ingy, (@ingydotnet),

This evening I retried the "git clone" command as noted above:

git clone https://github.com/acmeism/RosettaCodeData --single-branch --depth=1

The same error occurred, as in the previous attempt:

invalid path 'Lang/11l/Sequence:-smallest-number-greater-than-previous-term-with-exactly-n-divisors'

It is quite possible that there are many more "invalid path" errors due to the "colon" character in the pathname. So, it may take some work to resolve this issue.

Thanks for saying that you will take some time to look into this issue.

Kind Regards,
Liam

from rosettacodedata.

celtic-coder avatar celtic-coder commented on September 17, 2024 1

Hi Ingy, (@ingydotnet),

Thanks for making these changes! It will be a few days before I can get around to testing this.

When I have the opportunity, I will get back to you on this.

Kind regards,
Liam

from rosettacodedata.

TheOneTrueGuy avatar TheOneTrueGuy commented on September 17, 2024

I too am running into this issue. Is anyone still working on this project? I noticed in the RosettaCode-pm project that provides services for this there was an update 10 months ago for 2023 but it looks like nothing in this repo has been updated in years and years.

from rosettacodedata.

ingydotnet avatar ingydotnet commented on September 17, 2024

https://github.com/acmeism/RosettaCodeData/commits/main/

The repo has been updated many times in the last year.
Last update was 5 days ago.

I recently got a Windows machine. I can look into this sometime soon.

from rosettacodedata.

ingydotnet avatar ingydotnet commented on September 17, 2024

https://gist.github.com/ingydotnet/b4a1d20dc95490fa1d3c2a59b6758565

417 bad paths.

Should be pretty easy to not use :.

Can try to address manually.

$ find . -type d | grep : | while read -r p; do echo "$(dirname "$p")"; done | grep : | sort | uniq
./Task/Sequence:-nth-number-with-exactly-n-divisors
./Task/Sequence:-smallest-number-greater-than-previous-term-with-exactly-n-divisors
./Task/Sequence:-smallest-number-with-exactly-n-divisors

Only 3 dirs...

OK I ran

$ find . -type d | grep : | while read -r p; do echo "$(dirname "$p")"; done | grep : | sort | uniq | while read -r p; do git mv "$p" "${p//:/}"; done
$ find . -type f | grep : | while read -r p; do git mv "$p" "${p//:/}"; done
$ find . -type l | grep : | while read -r p; do git mv "$p" "${p//:/}"; done

possibly cleaner way but this is just a test.

No more paths with : although there are some broken symlinks.

I pushed to branch https://github.com/acmeism/RosettaCodeData/tree/remove-colons

@celtic-coder can you git clone --branch=remove-colons ... and report back if at least the clone works on windows.

If so I'll fix up the build tool properly.

Thanks for your patience :)

from rosettacodedata.

celtic-coder avatar celtic-coder commented on September 17, 2024

Hi Ingy, (@ingydotnet),

I ran the following command:

git clone --single-branch --depth=1 --branch=remove-colons https://github.com/acmeism/RosettaCodeData

We now have a further example of an "invalid path" error:

error: invalid path 'Lang/Burlesque/Eulers-constant-0.5772...'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.

The two culprits with "multiple dots" in the filename appear to be:

Eulers-constant-0.5772...
Four-is-the-number-of-letters-in-the-...

These appear in both the "Lang" and "Task" sections.

Kind Regards,
Liam

from rosettacodedata.

Related Issues (13)

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.