internetarchive / dweb-archive

GNU Affero General Public License v3.0
56 stars 16 forks source link

Some files - esp bootstrap and glyphicons moved in archive.org source #204

Open mitra42 opened 3 years ago

mitra42 commented 3 years ago

Some files are being moved on the archive, and now installable from npm.

See note below from Tracey and my response to it.

mitra42 commented 3 years ago

FROM TRACEY

hey there! so sometime this week, we are likely to move these fonts files on archive.org production site from: /includes/build/npm/bootstrap/fonts/ /includes/build/npm/bootstrap/dist/fonts/ this is so that we can serve/load all JS/CSS from same location (a pegged npm version of boostrap) instead of having bootstrap files copied in our petabox tree separately, etc.) bootstrap/dist/css/bootstrap.css bootstrap/dist/css/bootstrap.min.css bootstrap/dist/css/bootstrap-theme.css bootstrap/dist/css/bootstrap-theme.min.css bootstrap/dist/fonts/glyphicons-halflings-regular.eot bootstrap/dist/fonts/glyphicons-halflings-regular.svg bootstrap/dist/fonts/glyphicons-halflings-regular.ttf bootstrap/dist/fonts/glyphicons-halflings-regular.woff bootstrap/dist/js/bootstrap.js bootstrap/dist/js/bootstrap.min.js i noticed these "hits" in this repo of yours -- though am not entirely convinced they're in use -- so might be moot anyway. but figured i should touch base! :slightly_smiling_face: /home/tracey/dev/dweb-archive archive_files.txt:/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.eot archive_files.txt:/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.woff archive_files.txt:/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.ttf archive_files.txt:/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.svg dist/includes/archive.css: src: url('/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.eot'); dist/includes/archive.css: src: url('/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); includes/archive.css: src: url('/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.eot'); includes/archive.css: src: url('/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.woff') format('woff'), url('/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('/includes/build/npm/bootstrap/fonts/glyphicons-halflings-regular.svg#glyphicons-halflingsregular') format('svg'); includes/src/less/bootstrap/variables.less:@icon-font-path: "/includes/build/npm/bootstrap/fonts/"; 8:37 (we'll be updating our archive.less file and its sources in parallel - so maybe it just comes over to your repo w/ a copy/update, etc.?

mitra42 commented 3 years ago

I haven’t looked at that code in a long time ! It looks to me like archive_files.txt is a list of files to grab from the Archive main server into dweb-archive (which then ends up in the repo), and that will break if you move the files. However that would only happen if someone was working on the dweb-archive package, its not done automatically, because of the amount of bit-rot, if anyone does work on it again they should probably ind where the files are used and get them from npm instead. I’m going to post this to a “issue” on the dweb-archive repo, but I don’t see anyone doing any work on dweb-archive so I don’t see that happening soon. TLR; this move shouldn’t matter to dweb-archive (and therefore to dweb.archive.org or the offline archive) since they have their own (out of date) copies already.