You are not logged in.

#1 2016-02-10 23:07:37

redcollective
Member
From: The Wilds
Registered: 2015-09-29
Posts: 111

Backports Repository Index - add relevant discussion thread

A suggestion to aid users browsing the backports Repository Index:

https://pkg.bunsenlabs.org/repoidx.html … -backports

- A useful addition might be a link or links to relevant bunsenlabs forum posts discussing the backports - so a user can better assess why a specific backport exists?

Thanks for listening.

red


Knowledge Ferret

Offline

#2 2016-02-11 01:57:30

hhh
Meep!
Registered: 2015-09-17
Posts: 9,587
Website

Re: Backports Repository Index - add relevant discussion thread

^Agreed, we should have a dedicated suggestion/discussion sticky for backports. Recommending that this waits until after the rc2 release, though.

Offline

#3 2016-02-11 02:42:02

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,125

Re: Backports Repository Index - add relevant discussion thread

Blank page.


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#4 2016-02-11 02:51:40

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,775

Re: Backports Repository Index - add relevant discussion thread

Sector11 wrote:

Blank page.

Server performance has tanked. Wait & reload.


Per aspera ad astra.

Online

#5 2016-02-11 03:12:57

Sector11
Conky 1.9er Mod Squid
From: Upstairs
Registered: 2015-08-20
Posts: 6,125

Re: Backports Repository Index - add relevant discussion thread

OK...


The sun will never set if you keep walking towards it. - my son
Being positive doesn't understand physics.

Offline

#6 2016-02-11 03:18:06

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,775

Re: Backports Repository Index - add relevant discussion thread

…you also need JavaScript, Iceweasel/Firefox>=38 or Chromium>=48 with experimental JS features enabled.


Per aspera ad astra.

Online

#7 2016-02-11 06:07:18

ohnonot
...again
Registered: 2015-09-29
Posts: 4,519
Website

Re: Backports Repository Index - add relevant discussion thread

twoion wrote:

…you also need Iceweasel/Firefox>=38 or Chromium>=48 with experimental JS features enabled.

why?


BL quote proposals to this thread please.
how to ask smart questions | my repos / my repos | my blog
---
Thank you for posting direct image links!

Offline

#8 2016-02-11 06:30:38

damo
....moderator....
Registered: 2015-08-20
Posts: 5,971

Re: Backports Repository Index - add relevant discussion thread

^ Probably because @twoion had more important things to do at the time than write code to be useable in all browsers and versions.

Read the page source - the comments are informative and amusing wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#9 2016-02-11 07:27:47

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,775

Re: Backports Repository Index - add relevant discussion thread

ohnonot wrote:
twoion wrote:

…you also need Iceweasel/Firefox>=38 or Chromium>=48 with experimental JS features enabled.

why?

I wrote the script against Firefox just to find out that features I thought were cool (ES6 features) are too cool for Google so they chose not to implement them ASAP (related mostly to for..of iteration over Map()s I think).

That's what you get when you start with an idiotic toy language, slap some kit on top of it while talking to everybody else who is also busy slapping their own kits on top of it, and taking some pieces of kit from the guys left and right. For example Lua is probably (unverified claim) now about 1% the size of a standard JS implementation (excluding libraries like browser APIs) and syntax-wise does everything JS can do, including objects and inheritance, first-class functions, COMPLETELY CUSTOMIZABLE grammar either via the debug library or C libraries, and most importantly, somehow its developers thought it would make sense to be able to iterate over the keys and values of an object at the same time and to have proper scoping to begin with ('var' anybody?).

Most of the unportability of bl-repo-index.js is due to my own ignorance about the JS ecosystem ('hey how about writing this in JS instead of $real_programming_language, I could learn something while doing it'), but I shouldn't have to worry about crap like the above and to use a compatibility matrix of some sort spanning 40 colums and 9000 rows. BTW the document I linked is supposed to reflect what JS people call The Standard, but as you can see, no implementation is nowhere near 100% coverage of everything.

Side note: Lady IRIS (Improved Repository Index System), based on python-bottle, has been in the works for some time now but I don't know whether I will use or release it at some point due to the lack of time, and priorities (I like working on forecast so much more) and/or inclination. bl-repo-index works, for the most part.


Per aspera ad astra.

Online

#10 2016-02-11 07:44:56

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,775

Re: Backports Repository Index - add relevant discussion thread

redcollective wrote:

A suggestion to aid users browsing the backports Repository Index:

https://pkg.bunsenlabs.org/repoidx.html … -backports

- A useful addition might be a link or links to relevant bunsenlabs forum posts discussing the backports - so a user can better assess why a specific backport exists?

Thanks for listening.

red

Hm, the index is generated just from the Packages file in the repository so the information would need to be added and maintained manually.

How about explaining/linking on pkg's landing page instead?


Per aspera ad astra.

Online

#11 2016-02-11 21:17:19

ohnonot
...again
Registered: 2015-09-29
Posts: 4,519
Website

Re: Backports Repository Index - add relevant discussion thread

twoion, thanks for the explanation.
first of all, i slap myself for asking one-word-questions, one just shouldn't do it.
i'm using palemoon atm, which reflects firefox 26 iirc, so my "why" was direct more towards the first part of your explanation (iceweasel >=48).
i don't think i will actually ever need the repository index on a web page, and far be it from me to criticize.

on inox (chromium fork) and qupzilla i get this in a green box:
"It looks like you are using Chromium or Chrome. This page will only work on version >=48 with experimental JavaScript features (‘harmony’) enabled."

on dillo (yay!) i get this in a red-bordered box:
"The repository index is rendered by your browser using JavaScript, which
is used for retrieving and processing the package lists from our
repository. Without JavaScript, this page stays empty.
Allow scripts originating from the bunsenlabs.org domain to run, or view the directory index instead.
You may also inspect the script before running it."

on palemoon i get a blank page (except for the top menu bar).

Last edited by ohnonot (2016-02-11 21:17:51)


BL quote proposals to this thread please.
how to ask smart questions | my repos / my repos | my blog
---
Thank you for posting direct image links!

Offline

#12 2016-02-12 05:14:35

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 6,790
Website

Re: Backports Repository Index - add relevant discussion thread

I'm currently getting a blank page (except for the navigation top bar) on Iceweasel 43.0.4
It worked OK before.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Online

#13 2016-02-12 05:22:24

earlybird
ほやほや
Registered: 2015-12-16
Posts: 738
Website

Re: Backports Repository Index - add relevant discussion thread

johnraff wrote:

I'm currently getting a blank page (except for the navigation top bar) on Iceweasel 43.0.4
It worked OK before.

Ah, then I understand what's going on. I removed a Firefox-specific constraint

<script type="application/javascript;version=1.7">

because it worked without that in FF44 (which is the current release). And yes, I didn't test all those stupid browsers again. I'll revert the removal tonight.

Offline

Board footer

Powered by FluxBB