Distrib -e "Arch(org|code|pkgs|aur|forum|wiki|bugs|.*)?" -- thoughts

design the output of every tool we use to look like merge-able chains in a DSCM.
this is something i've been thinking about long before i came to Arch.  i want to see next-generation package/configuration/change management in a distributed distribution.
I am familiar with git, and most of what i have tried is relating with it; however. it's only because i know much about it.  other possibilities would be bazaar?/mercurial/fossil/etc.  i like fossil; i have not tried it but it looks closest to what i want to achieve.  i don't think it could scale to the levels we'd need however.
ASSERTIONS
) all PKGBUILD are DSCM (git/?) based
) bugs should ride along with software, and be merge-able when branches merge
) cryptographic signatures for each user
) wiki for each software
) forum "channels" for each software
) P2P sharing of SCM (blobs/trees/commits in git) units
) P2P sharing of common SCM (packs in git) pack
) P2P sharing of user configs and ABS build trees; each user may host their own binary/source repo, and sign their packages)
) P2P and distribution are good
essentially, everything is a branch/tree and we use facilities of DSCM with a P2P layer above.  the arch servers could become another node in the system and a long term record keeping peer.  others could add servers.  you could open the wiki/bugs/etc offline, in a web browser, and merge later.  when you edit your PKGBUILDS, they can be forked by others and improved, maybe pushed to the core/community repos.  official repo builds could be signed by an official Arch GPG key.  bring everything as close to source as possible, and spread it out.
this is completely brainstorming right now, but i have done some tricky cool stuff with git.  i want to keep all/most of the logic/information withing the git DAG (commit graph).  i think we could do neat stuff with the git index, git grafts, and several operations could safely be done in parallel.  we could do mapreduce type calculations on the "ArchNet" to get crazy statistics and visualizations.
i intend to actually build something soon-ish-awhile.  right now im working on an app that can produce 3D visualizations in VPython from any kind of input stream... i want to hook that kind of stuff up and visualize the arch/linux/gnu/buzz.
another offshoot project for me was to use VPython (that app is really fun) to navigate and manipulate git repositories in real time.  imagine visualizing your system in 3D while working on it.  like a 3D admin panel where you overlay others configs and entire systems on to your own to see what changes/etc. DSCM can do this.
thoughts?  what other kinds of things could we do if everything Arch behaved like a P2P super-repository?
Last edited by extofme (2010-02-14 01:34:37)

Anntoin wrote:Some interesting ideas. But you need to start small first and make a proof of concept before you try and tackle everything. A detailed plan of how packages are handled and a basic implementation would be a start for example (still not a small job though), then testing the behaviours that you are interested with that framework. You have an idea where you want to go with this but you will need to focus on a few core features and show their benefit before anyone will consider this.
ah yes of course.  the first step is getting a distributed index, and a "package" format (packages become fuzzy items, below/above); this will be realized in the form of:
"AUR3 [aur-pyjs] implementation in python (pyjs) + JSON-RPC"
https://bbs.archlinux.org/viewtopic.php?pid=823972
i have a package in the AUR for that [aur-pyjs], but it's old as i haven't been able to update in awhile, and won't be until i secure a development job in my new city (next week hopefully).  aur-pyjs will be built on top of the concepts i have outlined in this thread, and will in time become prototype.  check it out; pretty neat even though it can't do much yet :-).  soon though, i will update the package, and it will then be able to run as a native python desktop app (pyjamas allows the same code to run as a website or a desktop app).  at that point, it will be trivial to implement connectivity to the old AUR/repos, and we will in effect have a pacman+aur replacement.  from there i will tackle bugs+forum, of which there are already several implementations on top of DSCM sub-systems to research and learn from.
stefanwilkens wrote:
Dieter@be wrote:Interesting ideas, I think i like them.
but trying to store too many big files (ie package files) inside a VCS seems like a bad idea.  space requirements will be much bigger then what we have now, unless you make the VCS "forget" about older versions or something...
mostly this.
the base of what you're proposing is a tremendous amount of data that would never be touched after a new version is released, how do your suggestions fit the rolling release model. Especially relatively large packages updated with high frequency (nvidia binary drivers, for instance) could cause the space requirement to increase rapidly unless moderated.
packages are not stored in the DSCM, their contents are.  the package itself is simply a top-level tree object in git, linking to all other trees and blobs comprising the package state, and a reference to said tree.  this means everything and anything that is common between _any_ package and _any_ version will be reused; if ten unrelated packages reference the same file, only one copy will ever exist; blobs are the same.  however, some packages may indeed create gigantic, singular blob type objects that always change, and this will be addressed (next...).
git compresses the individual objects itself, in gz format; this could be changed to use the xz format, or anything else.  it also generates pack files full of differentiated objects, also compressed. it would not always be necessary to have the full history of a package (if you look somewhere above, i breifly touch this point with various "kinds" of packages, some capable of source rebuild, some capable of becoming any past source/binary version, some a single version/binary only, etc.).  you would not have to retain all versions of "packages" if you did not want, but you could retrieve them at anytime so long as their components existed somewhere on the network.  servers could be set up to provide all packs, all version, effectively and automatically performing the intended duty of the "arch rollback machine".  the exact mechanism is not defined yet, but it will likely involve some sort of SHA routing protocol, to resolve missing chunks.
git's data model is stupid simple; structures can be created to represent a package, it's history, it's bugs/status, and it's information (wiki/etc.), in an independent way so they do not depend on each other, but still relate to each other, and possess knowledge of how to "complete" and find each other.  it will not be structured in the typical way git is used now.  unfortunately this is very low level git stuff, and difficult to explain properly, so i won't go there; just know that ultimately the system will only pull the objects you need to fulfill the directive you gave it, and there will be rules to control your object cache.  your object cache can then be used to fulfill the requests of others; ie. P2P.
since git itself is in a rather poor state when it comes to bindings, i will be using the pure python git library, dulwich, instead.  while in time this could be changed to use proper bindings, or some bits written as C modules, it's possible pypy will make all that unnecessary.  i don't need anything git core offers except its data structures and concepts; although, i intend to make the entire system (adding bugs/updating packages/editing wiki/editing forum/etc.) _completely_ 100% accessible from a basic git client.  for example, you could write a post in the forum by "committing" to a special branch; you could search the entire wiki, and its history from the terminal while installing; you could add a bug, and link a patch to it, directly usable and buildable by others for testing; this could all be done offline, and pushed once a connection was available... this will lead to all sorts of interesting paths...
in one super run-on sentence:
i intend to construct a "social", 100% distributed distribution platform, where everyone is a [potentially] contributing node and has [nearly] full access to all informations, each node's contributions are cryptographically verifiable, each node may easily participate in testing/discussion or lend computing resources, each node may republish variations of any object or collection under their own signature, each node may "track" or "follow" any number of signatures with configurable aggressiveness (no such thing as "official repos"; your personal "repo" is the unique overlay of other nodes you trust, and by proxy some nodes they trust; "official repos" degrade into an Arch signature, a Debian signature, Fedora, etc.), and finally, do all of this is a way that is agnostic to the customized distribution (or other package managers) above it, or it's goals, and eventually spread to other distros, thus creating a monstrous pool of shared bandwidth, space, ideas, and workload, whilst at the same time converging user/developer/tester/vendor/packager/contributor/etc. toward: person.
piece of cake
C Anthony
Last edited by extofme (2010-09-11 05:23:46)

Similar Messages

  • Code tags in forum help produce white on black

    Have a look: https://bbs.archlinux.org/help.php#smilies
    On my browser, code tags in normal posts are rendered black on powder blue:
    Lorem ipsum dolor sit amet, suas lorem menandri pro at, quod quot tritani ne cum. Eu mei cetero molestiae dissentiet, eam suas case aliquando id. Cum id mazim audire quaeque. Sit no tation apeirian, an mazim minimum temporibus cum. Et libris reprimique referrentur ius, vis ea fastidii delectus senserit.
    Global setting?  User setting?
    Last edited by graysky (2013-01-02 21:01:47)

    cfr wrote:Is it intended that the links on the top right (and the logo on the top left) are only displayed for the default theme? So if I change the colours, I lose the links there to wiki/bugs/aur etc.?
    Yes. The default theme was made exclusively for this forum. All other themes are provided by upstream and are generic. As such, they don't have site-specific stuff.

  • Code Formating after Forum Software Upgrade

    Hello SCN Forum Administrators,
    it seems that all code formating which was done with the
    [code]
    Tags was not automatically converted during the Forum Software Upgrade. What can I do to correct my code in the Forum Topic Re: Display ALV GRID with PHP? The message was posted by myself but I can't edit it.
    Best regards
    Gregor

    Hi all,
    the new forum version does contain a filter that can handle the old [code] tags. The problem was that we had to turn it off because it permanently ran into Stackoverflow errors and thus bringing the whole landscape into trouble.
    Now we have to convert all the old [code] markup in all messages with the new {code} markup. We are currently testing this.
    In other words: [code] is no longer supported, the usage of {code} is recommended.
    Regards,
    Michael

  • How can I write HTML code in this forums

    Sorry but I didn't know where to post this thread.....
    How can I write HTML code in this forums?

    Hello,
    Every piece of code in your post should be wrapped with the forum tags [ code] and [ /code], without the blanks.
    In case of the <a> tag, that is not enough. In this case, you have several options. The most elegant one is to use the entity name for the less-then sign - & lt; - without any spaces. Other options is to add a space between the less-then and the ‘a’ character (and make a note of it) or change the less-then character with a left bracket one.
    When posting code, you should always use the forum preview option, just to make sure the forum software “understood” your code correctly.
    Hope this helps,
    Arie.

  • Formatting code on these forums

    When I copy code directly from codewarrior (with its nice colorcoding and white space and indenting) into this forum and post, everything is justified left with no colors or bolding and it's all in the forum font. I notice that some people are able to present code in these forums that looks like codewarrior code. Just wondering how one takes code from a source file and puts it in these forums looking like code should.
    Thanks,
    Maduin

    http://forum.java.sun.com/faq.jsp#messageformat

  • Org Code grayed out and defaulted in Shipping Trx form

    Hi
    My company is having an Oracle apps system already working in place, with operating unit OU1 and inventory org IO1. Recently we are trying to include some more sites IO2, which are in different operating unit OU2 altogather. I completed all setups for new orgs.
    Afterwards, when i logged into my system using old operating unit's OU1 responsibilities, i tried to do some search in shipping transactions form. But surprisingly, the Org Code field is now prepopulated with new inventory org name IO2 and is grayed out, so i cane even modify it. Now I cannt do any search in old org IO1.
    Can anyone please tell me why it is so? and how to remove this, so that org code is blank on new forms?
    Any help is appreciated.
    Regards
    Varun

    Hi Luko
    Thanks a Lot for your help.
    We are using custom roles so cannt assign myself roles mentioned by you. But I end-dated my current role and defined a new one, where I left Org field Blank. Now I am able to access the shipping trx form and the field is also available for data entry - exactly what I wanted. :)
    Regards
    Varun

  • Paste code on the forum

    Hi,
    This question is not related to this forum, per se, but many times I face difficulty in asking question where I need to paste some sample code on this forum. How to paste the code so that it gets formatted properly rather than just seeing unformatted code on the screen which makes it difficult to read? Any html tag to be used?
    Thanks

    check this for more format options:
    http://wikis.sun.com/display/Forums/Forums+FAQ
    Edited by: M.Jabr on Apr 6, 2011 1:36 AM

  • Can't access ArchLinux AUR/BBS/WIKI from within VirtualBox

    Hi there,
    I'm havin a strange issue since a few weeks. I'm running ArchLinux as a guest in VirtualBox with Windows 7 as a host. It's my working computer in the office and here's the problem:
    I can't access the ArchLinux AUR/BBS/WIKI sites from within my virtual macine. Therefore I can't use yaourt, which is a problem for me. If I try to open the sites in the browser I get a timeout. And if I try to wget aur.archlinux.org I get no output after it says "connected". Pinging works fine. And I have no problems at all with my Windows host machine. Could you help me finding the cause of the problem? Where should I look for an error message? I'm looking forward to your answers. Thanks in advance.

    First of all thank you for your reply and excuse me for answering so late. The holidays came in between ;-) So here we go:
    ewaller wrote:Are you using a NAT or Bridge configuration?
    I'm using a NAT configuration.
    ewaller wrote:If you are using NAT, have you tried turning off any software firewalls on your host?
    I cant' due to missing admin rights.
    ewaller wrote:On the windows host, what are the (I think Redmond calls them) Profiles of the networks?  I think these are called Public, Home, Office.  They have different levels of trust.
    The real LAN connection is a "Domain network". The VirtualBox one is "Public network".
    ewaller wrote:Can you browse any web servers behind your corporate firewall?
    In my virtual machine any websites except AUR, BBS and the Arch wiki are accessable/browsable..
    ewaller wrote:Can you browse a server on the Windows host?
    On my Windows host all websites (including AUR, BBS and the Arch wiki) are accessable/browsable.
    ewaller wrote:What is the IP address of the VM?  What is the IP address of the host on the corporate network?
    VirtualBox: 10.0.2.15
    Host: 129.247.231.183

  • Package Database, AUR, and Wiki Search - Chromium Extension

    I made a Chromium (Google Chrome) Extension to search the package database, AUR, and the wiki.
    You can search from the extension's icon or by right-clicking on highlighted text. (I've found this feature the most useful)
    There are many configurable options in the Extension's option page and by default it will not search AUR or Wiki only the Package Database.
    You can download the extension from Google here: https://chrome.google.com/extensions/de … nbhk?hl=en
    Or you can get the source here and pack the extension yourself: https://github.com/FunctionVoid/ChromeArchPackageSearch
    I am also considering creating Firefox and Opera ports.
    Feel free to comment, complain, or contribute.
    Last edited by action_owl (2011-02-28 20:16:14)

    There's already the arch-firefox-search package for Firefox (no options though so maybe your extension is better...)

  • [svn:osmf:] 15984: FM-848: adding unit test that holds the code to reproduce the reported bug.

    Revision: 15984
    Revision: 15984
    Author:   [email protected]
    Date:     2010-05-10 05:50:23 -0700 (Mon, 10 May 2010)
    Log Message:
    FM-848: adding unit test that holds the code to reproduce the reported bug.
    Ticket Links:
        http://bugs.adobe.com/jira/browse/FM-848
    Modified Paths:
        osmf/trunk/framework/OSMFTest/org/osmf/elements/compositeClasses/TestCompositeMetadata.as

    My apologies about the wall of text. After I made my original post, I thought maybe it would better to go back and put it in a pastebin instead. I was not able to edit that post once I sent it.
    In regards to your question, the  permissions on the
    /Library/LaunchAgents/com.adobe.AAM.Updater-1.0.plist file is "read and write" for system, wheel and everyone.

  • Nginx Mainline pkg / AUR pkg

    Hello guys,
    just wondering, because Archlinux is usually one of the first distros do adopt anything new, why is there no nginx mainline package?
    From what I found, there is not even an AUR package for that?
    Does that have any specific reason or does rarely anybody need it because there are not too many Arch Servers (I think they're great, though as long as you care)?
    Thanks for the help !

    actually, you are right.
    I searched for nginx mainline / nginx development.
    Found it now, though, sorry for posting before doing proper research.
    though, from what I see in the pkg builds, there is no pkg containing just nginx mainline (version 1.5.8?)
    there is nginx-devel (1.5.6) and nginx-custom-dev (1.5.7) but both of them package other things as well in contrast to the normal nginx package.
    Shall I flag it out of date? not sure, because there are other things included which may prevent the update to 1.5.7 or something similar..

  • Posting script code in these forums

    OK, it looks like there are some (new) formatting issues with these forums when people try to post their scripts. I have been using a formatter script that converts the text on the clipboard to HTML and then wraps it in a pre tag, but there still seems to be some issues with certain characters. The following script has worked for me so far (although I don't post that much) - what other scripts or methods work for you?
    <pre title="this text can be pasted into the Script Editor" style="font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; width: 720px; color: #000000; background-color: #E0E0E0; overflow: auto">-- script formatter
    property TempFile : "SF_TempFile" -- a temporary work file
    property TheWidth : "width: 720px; " -- a width attribute (deprecated in HTML 4.01)
    try
    set TheClipboard to (the clipboard) as string
    set MyOpenFile to open for access ("/tmp/" & TempFile & ".txt" as POSIX file) with write permission
    set eof of MyOpenFile to 0 -- empty the temp file
    write TheClipboard to MyOpenFile
    close access MyOpenFile
    -- convert to HTML - see man textutil
    do shell script "cd /tmp/; textutil -convert html -excludedelements '(html, head, title, body, p, span, font)' -encoding US-ASCII " & TempFile & ".txt"
    -- strip the first line (<?xml ?>) and add the <pre>...</pre> wrapper
    set TheText to rest of (paragraphs of (read ("/tmp/" & TempFile & ".html" as POSIX file))) as text
    set TheText to "<pre title=\"this text can be pasted into the Script Editor\" style=\"font-family: Monaco, 'Courier New', Courier, monospace; font-size: 10px; padding: 5px; " & TheWidth & "color: #000000; background-color: #E0E0E0; overflow: auto\">" & TheText & "</pre>"
    set the clipboard to TheText
    display dialog ((count TheText) as text) & " characters placed on the clipboard" with title "Script Formatted" buttons {"OK"} default button "OK" giving up after 4
    on error ErrorMessage number ErrorNumber
    display alert "Error " & (ErrorNumber as string) message ErrorMessage as warning buttons {"OK"} default button "OK"
    end try</pre>

    Hello red_menace,
    Indeed a pre-processing code like yours is always an option for us, but from my point of view, the correct solution is for the discussions' admins to disable this meddlesome formatting feature of the new fora software.
    This new feature affects not only new posts but also the existing messages in the fora, that means it has rendered quite a few useful messages totally useless. This is actually serious data loss caused by the thoughtless software. And for what?
    After all, these discussions' boards are not chat rooms where people might want some simple input methods for fancy text formattings, but technical support fora where people frequently post programming codes, computer outputs and so forth that have many reserved symbols and notation.
    I really wish they may fix this promptly.
    Best regards,
    Hiroto

  • How to post my code in this Forum under a good format?

    can any one tell me how to post the java resource code in here? when i just copy and paste. the format of the output is not so good, i saw some one posted some code under a very good format in this Forum, how to do that?

    If you want to post code that makes it easier on someone else to cut-n-paste, then put the code inside of the [ pre] and [ pre] tags (no blank space in between). If you want code that looks pretty (i.e., with syntax highlight, etc) but hard to cut-n-paste (at least for someone like me who uses Windows WordPad as a source code editor), put the code inside of the [ code] and [ code] tags (again no spaces in between). pre is an abbreviation for preformatted text!
    ;o)
    V.V.

  • Code Snippets in Forums

    Hi,
    I recently tried to anwser to a forums question located at this URL: /message/8930166#8930166 [original link is broken]
    I inserted some code snippets and encountered the problem that I was not able to send my posting to the forums (there occured an error like "Method not implemented: POST to /post.jspa not supported"...
    After some try&error I realized that the problem lies in the mixture of JSP-Scriptlets and Javascript-Code in one code snippet.
    So I placed an "_" behind the javascript-script-Tags which enabled me to send the posting finally.
    This was however very annoying... is this a known problem or is this new?
    EDIT: Also in this posting there is the problem only within the script-tags (without using the forum code-markups).

    Oh, looks like so. But how about just using spaces between the square brackets and your index designator, along these lines:
    int[] array = new int[ 10 ];
    int i = 1;
    array[ i++ ] = 42;
    array[ i ] = 50;That's how I always write my code. Unless the client has some strict coding conventions that dictate otherwise, that is.
    .P.

  • Arch Linux policy about AUR

    Hello,
    I've been using Arch for a while now, and I still see some inconsistency about AUR case. As the Arch Wiki says:
    in the AUR, the users contribute their own packages. The AUR community votes for or against them, and once a package has been voted high enough, a AUR Trusted User takes it to the [community] repository
    Sounds easy. But when you take a look at the list of packages ordered by number of votes, you start wondering: Why are the top ones still unsupported? Is there no one to maintain it? Are they not grown-up enough?
    I'm not trying to be offensive, I'm just curious about it. What is the real role of [community] then? What makes the package important enough?
    Regards,
    Ted
    Last edited by tadzik (2009-07-24 13:31:36)

    Yes, I agree about the insanity. But promoting, for example, yaourt and other AUR managers which automate the process to community would OFFICIALLY allow users to install it without any modicum of understanding. A simple pacman -S yaourt.
    And the second half of your paragraph is just about correct. Its not so much about trusted/appreciated as something which the TUs themselves are willing to maintain. The TUs are trusted, not the packages. The TUs will review the PKGBUILDs, so when we install from community we're trusting that they're doing a good job and honorable in not messing up our systems.
    Well, unless you want to be paranoid and compile EVERYTHING from ABS. Gentoo calls....

Maybe you are looking for