Coder Social home page Coder Social logo

empty "crates" directory about panamax HOT 12 CLOSED

panamax-rs avatar panamax-rs commented on May 27, 2024
empty "crates" directory

from panamax.

Comments (12)

panzerballett avatar panzerballett commented on May 27, 2024

a few minutes and several re-runs of panamax and i am at 6 crates: banyan libnotcurses-sys parametrizer schemafy schemafy_core schemafy_lib...

from panamax.

panzerballett avatar panzerballett commented on May 27, 2024

started sync from scratch.... things seem to work now, sorry!

from panamax.

k3d3 avatar k3d3 commented on May 27, 2024

No worries! I am curious though (since I don't think this should be happening at all), did Panamax come back with any errors when this happened?

from panamax.

panzerballett avatar panzerballett commented on May 27, 2024

i re-ran everything from scratch. this happened:

$ panamax sync .
Syncing Rustup repositories...
[1/5] Syncing rustup-init files... ███████████ 80/80 [00:00:06]
[2/5] Syncing latest stable...     █████████ 596/596 [00:09:43]
[3/5] Syncing latest beta...       █████████ 596/596 [00:09:49]
[4/5] Syncing latest nightly...    █████████ 642/642 [00:10:01]
[5/5] Cleaning old files...        █████████████ 0/0 [00:00:00]
Syncing Rustup repositories complete!
Syncing Crates repositories...
[1/3] Fetching crates.io-index...  ██ 1959500/1959500 [00:02:17]
[2/3] Syncing crates files...      ██████████████ 0/0 [00:00:00]
[3/3] Syncing index and config... 
Updating crates.io-index config failed: GitError(Error { code: -1, klass: 4, message: "corrupted loose reference file: FETCH_HEAD" })
You will need to sync again to finish this download.
Syncing Crates repositories complete!
Sync complete.

so there is an error...

a $ git log in the crates.io-index directory yields:

commit 839a17b3aec75f3710d5ecf3dae663df02848972 (HEAD -> master, origin/master, origin/HEAD)
Author: bors <[email protected]>
Date:   Tue May 18 13:28:52 2021 +0000

    Updating crate `transvoxel#0.1.1`

commit 459f58306a988d281e8383f63c58c3fe4cdde529
Author: bors <[email protected]>
Date:   Tue May 18 13:28:30 2021 +0000

    Updating crate `libpacket#0.1.0`

commit 67959271d37fabf21ef6ea7dd9779640d7c20d3d
Author: bors <[email protected]>
Date:   Tue May 18 13:25:31 2021 +0000

    Updating crate `libpacket-derive#0.1.0`
...

re-starting worked fine - no error. but only a single crate was mirrored:

$ ls crates/
wasmcloud-fs

in the next run i got 2 crates:

$ ls crates/
pfm  wasmcloud-fs

should i re-open the issue?

from panamax.

panzerballett avatar panzerballett commented on May 27, 2024

synced again after a few minutes:

$ git log
commit 487b076b5781042e8e1012f325ddb746185f7fe2 (HEAD -> master)
Author: Panamax <panamax@panamax>
Date:   Tue May 18 15:58:22 2021 +0200

    Rewrite config.json

commit f00d6335fefeeada2d05a751815a67608d625513 (origin/master, origin/HEAD)
Author: bors <[email protected]>
Date:   Tue May 18 13:39:58 2021 +0000

    Updating crate `pfm#0.0.6`

commit 70d120d55698ca5030132ecc0cfcb8188709d68f
Author: bors <[email protected]>
Date:   Tue May 18 13:37:19 2021 +0000

    Updating crate `wasmcloud-fs#0.4.1`

commit 839a17b3aec75f3710d5ecf3dae663df02848972
Author: bors <[email protected]>
Date:   Tue May 18 13:28:52 2021 +0000

    Updating crate `transvoxel#0.1.1`

and

$ ls crates/
pfm  wasmcloud-fs

from panamax.

k3d3 avatar k3d3 commented on May 27, 2024

Yep, this is definitely worth reopening if you're able to reproduce this even after cleaning up.

Thanks for the error message! I'll try to figure out what's going on.

from panamax.

k3d3 avatar k3d3 commented on May 27, 2024

Oh, one other question - how are you installing panamax? Are you using cargo install panamax, or are you cloning from the master branch and compiling that way?

If the former, I'd recommend doing

git clone https://github.com/panamax-rs/panamax
cd panamax
cargo install --path .

Just to make sure it's running off master, and it's the latest version.

from panamax.

panzerballett avatar panzerballett commented on May 27, 2024

i installed panamax via cargo install panamax.

current state of affairs:

$ ls panamax/crates
cargo-mono     faster-chars-count        matchit  neon-build   neon-runtime  ogg-opus  pixel-widgets  routerify-multipart  simple_asn1  wasmcloud-fs
crates_io_api  hierarchical_pathfinding  neon     neon-macros  neon-sys      pfm       png_pong       seacan               swc_bundler
$ git log

commit 845558e49157a21788957fad9b45f57eb1337b8d (HEAD -> master)
Author: Panamax <panamax@panamax>
Date:   Tue May 18 17:38:35 2021 +0200

    Rewrite config.json

commit 77aa0b0bc9d16875f89cb8e301a8ceef5c2b4e10 (origin/master, origin/HEAD)
Author: bors <[email protected]>
Date:   Tue May 18 15:27:03 2021 +0000

    Updating crate `matchit#0.4.1`

commit 66dbb2cc241ee51e9e41e0b92f7f02ab840bf5b3
Author: bors <[email protected]>
Date:   Tue May 18 15:20:02 2021 +0000

    Updating crate `faster-chars-count#0.2.1`

commit 0b8a2b551907d9d2a57d4c612f4f48c9a079c8fa
Author: bors <[email protected]>
Date:   Tue May 18 15:09:49 2021 +0000

    Updating crate `simple_asn1#0.5.3`

commit 912b089116022b13335e6ee0dc44582eb73bbf87
Author: bors <[email protected]>
Date:   Tue May 18 15:04:21 2021 +0000

    Updating crate `neon#0.8.2-napi`

commit d8c58f58bf436d034849d165531dcaed604b89ed
Author: bors <[email protected]>
Date:   Tue May 18 15:03:24 2021 +0000

    Updating crate `seacan#0.1.0`

i will try to clone & build panamax next week & get back to you. thanks so far!

from panamax.

k3d3 avatar k3d3 commented on May 27, 2024

I've made a fix! The reason you were only getting a few crates is because when the initial sync was occurring, it was basically ignoring all crates up to that point. So further syncs would only grab the newly-added crates.

from panamax.

k3d3 avatar k3d3 commented on May 27, 2024

@panzerballett I've pushed a fix and updated the crates.io package. Let me know if you still have this issue, and feel free to re-open this issue if you do!

from panamax.

panzerballett avatar panzerballett commented on May 27, 2024

dear keith

thanks a lot for the quick fix! i did a full re-sync and most things work as expected again!

what does not work is a fresh rust installation. i can download rust-init but when i run it http://pamanax.internal/dist/2021-05-10/rust-src-1.52.1.tar.xz is not found. the directory http://pamanax.internal/dist/2021-05-10/ does exist and is populated - but no rust-src-* files are in there.

from panamax.

k3d3 avatar k3d3 commented on May 27, 2024

That's very strange. I'll take a look at that very shortly to see what's going on. I've also made a new issue for it, #27.

from panamax.

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.