zraexy has quit [(Ping timeout: 255 seconds)]
zraexy has joined joined #nixos-wiki
<nixoswikibot> [[Main Page]] M https://nixos.wiki/index.php?diff=790&oldid=789&rcid=788 * Fadenb * (-2) Testing mobile skin
<nixoswikibot> [[Main Page]] https://nixos.wiki/index.php?diff=791&oldid=790&rcid=789 * Fadenb * (-7)
<nixoswikibot> [[Main Page]] https://nixos.wiki/index.php?diff=792&oldid=791&rcid=790 * Fadenb * (+9)
<fadenb> Hmm, for me the topic expansion in the mobile skin is broken :/
<fadenb> But only on the main page
ixxie has joined joined #nixos-wiki
<ixxie> fadenb: about the github login: is there a way to make it remember? I have to login in every time
<ixxie> fadenb: also, is there a setting that when I log it, it stays on the same page? It keeps navigating to the main page when I login.
<fadenb> Main page redirect is a known issue. Need to investigate this properly
<fadenb> Regarding the session timeout I will look whether it is configurable
<ixxie> cheers :)
<ixxie> makefu: you in tha house?
<makefu> in da houze!
<ixxie> :)
<ixxie> check this makefu
<ixxie> At first I thought all three need to be merged
<ixxie> but 'Contributing to nixpkgs' is actually a tutorial
<makefu> true, we should have a complete walkthrough on how to add a new package to nixpkgs upstream
<ixxie> that tutorial is a great start no?
<makefu> full with checkout, adding changes, maintainer entry, all-packages and a Pull-Request
<makefu> exactly
<ixxie> I think it just needs to be cleaned up a bit
<ixxie> get involved is a general discussion article so that shouldn't go in there
<makefu> yes you are correct, i just checked get_involved
<makefu> there is also a chapter
<ixxie> but I supposed Pull Request can be merged into Get Involved
<makefu> we can do a reference instead of having the same thing there
<ixxie> there can be a little overlap
<ixxie> discussion articles can provide a quick summary of how to do something
<ixxie> indeed they have to
<ixxie> makefu: but now I am wondering about naving conventions
<ixxie> naming*
<ixxie> I totally expected to see a discussion in 'Contributing to nixpkgs;
<makefu> well it is 'contributing to nixpkgs' but the article is about a tutorial on how to upgrade a package in nixpkgs
<makefu> this may be misleading
<ixxie> okay good point
<ixxie> but additionally maybe manuals, tutorials and cookbooks should have they
<ixxie> shjouild have their category in the title
<ixxie> like: "Tutorial: Upgrade a Nixpkgs Package"
<makefu> i think this chapter was merged from the old wiki i think
<makefu> yes this shoulds about right
<makefu> maybe even "Tutorial on upgrading a software package in nixpkgs"
<makefu> at the beginning of the chapter we should find the ref which was used for the upgrade
<makefu> so the tutorial is repeatable
<makefu> like To complete this tutorial do a `git reset --hard <ref>`
<ixxie> makefu: I never contributed so I don't know about this stuff
<ixxie> I think we should try and keep titles a bit shorter though
<makefu> yes, probably
<ixxie> the language in the article is a little bit too loose btw
<makefu> true
<ixxie> but I agree with you that maybe its too stiff to write every tutorial in the form "Tutorial: blabla"
<ixxie> makefu: do you think it will be a bit too repetitive if we strictly make ALL titles of manuals, tutorials and cookbooks contain those words?
<ixxie> I mean it will certainly help clarify things
<makefu> mhhh let me check archlinux for reference :D
<makefu> they strictly separate by technology
<makefu> it seems there is no tutorial on how to actually write a pkgConfig
<makefu> maybe we could just call it "Upgrading a sofware in nixpkgs" with [[Category:Tutorial]]
<nixoswikibot> [[Get Involved]] https://nixos.wiki/index.php?diff=793&oldid=368&rcid=791 * Ixxie * (+1496) Merged the Pull Request article into this article.
<nixoswikibot> [[Get Involved]] https://nixos.wiki/index.php?diff=794&oldid=793&rcid=792 * Ixxie * (+178) /* Create pull requests */
<nixoswikibot> [[Get Involved]] https://nixos.wiki/index.php?diff=795&oldid=794&rcid=793 * Ixxie * (+1)
<nixoswikibot> [[Get Involved]] ! https://nixos.wiki/index.php?diff=796&oldid=795&rcid=794 * Makefu * (+60)
<ixxie> makefu: that actually missing the PR step
<ixxie> ironic xD
<makefu> haha true
<nixoswikibot> [[Get Involved]] https://nixos.wiki/index.php?diff=797&oldid=796&rcid=795 * Ixxie * (-30) /* Create pull requests */
<ixxie> there
<ixxie> still needs some cleanup but I can now drop the original one
<makefu> funny enough the i3 tutorial change got reverted
<makefu> :D
<makefu> 90b2dcdd2ae30f34e8354d78eda4090bc6a6b188
<makefu> 'i3 doesn't want cairo at all.'
<nixoswikibot> [[Special:Log/delete]] delete * Ixxie * deleted "[[Pull request]]": This article was merged into the 'Get Involved' article.
<ixxie> lol
<ixxie> makefu: another option is to maybe ask samueldr to make templates for headers for Tutorials, Manuals and Cookbooks so that its super clear when you land on a page WHAT it is
<nixoswikibot> [[Special:Log/move]] move * Makefu * moved [[Contributing to nixpkgs]] to [[Updating software in nixpkgs]]: clear description
<ixxie> makefu: can we make it 'Upgrading Packages in Nixpkgs'?
<ixxie> or maybe updating
<ixxie> but packages for sure
<ixxie> because its the package being update (the nix expression)
<ixxie> also Nixpkgs (capitalization should be consistent in the Wiki)
<ixxie> makefu: what is actually the difference between an update and upgrade
* ixxie scratched head
<makefu> lets google this :D
<makefu> havinga header for tutorials would be fantastic
<ixxie> makefu: 17.03 -> 17.09 will be an upgrade
<makefu> 3. Updates are often free while an upgrade would cost money
<ixxie> updates happen all the time
<makefu> ok so we updated the package, not upgraded it
<ixxie> makefu: sometimes it would be an upgrade I guess
<ixxie> in this case its not much of a difference
<ixxie> depends which decimal you are editing
<ixxie> lets call it update
<ixxie> but it should be package makefu, don't you think?
<ixxie> software is what - say - i3 is releasing in their own repo; packages are the Nix expressions on Nixpkgs
<makefu> it sounded redundant in my ears but mabye so
<makefu> maybe*
<ixxie> becaus package and nixpkgs
<ixxie> I get it
<ixxie> but I think we will have to live with a lot of titles with package and Nixpkgs in them, and software is a bit confusing
<ixxie> alright makefu?
<makefu> sure
<ixxie> that way we can always refer by package to the Nix expressions and by software to the thing they install
<makefu> i rename it after i finished the remark for the git reset to a version without the change
<nixoswikibot> [[Special:Log/move]] move * Ixxie * moved [[Updating software in nixpkgs]] to [[Updating a package in Nixpkgs]]
<ixxie> oops makefu
<ixxie> I hope I didn't cause you a problem just now
<nixoswikibot> [[Updating a package in Nixpkgs]] https://nixos.wiki/index.php?diff=802&oldid=800&rcid=799 * Ixxie * (+7)
<nixoswikibot> [[Updating a package in Nixpkgs]] https://nixos.wiki/index.php?diff=803&oldid=802&rcid=800 * Ixxie * (+25) Added tutorial category.
<makefu> no problem :)
<ixxie> cool
<makefu> i wanted to add In order to complete this tutorial be sure to run <syntaxhighlight lang="bash" inline>git reset --hard 111c8db50038</syntaxhighlight> in the folder. as a notice but it seems that <syntaxHighlight is not supported in a note field
<makefu> maybe you can add this somewhere
<ixxie> makefu: realistically someone following this tutorial would be updating an actual package needing an update
<makefu> then it would be a how-to right?
<nixoswikibot> [[Updating a package in Nixpkgs]] https://nixos.wiki/index.php?diff=804&oldid=803&rcid=801 * Ixxie * (+181)
<ixxie> makefu: hmm yes.... but I guess I think this one *should* be turned into a manual? xD I don't know
<ixxie> its also a bit borderline
<makefu> i think we are fine now
<makefu> :)
<makefu> just a notice at the top "if you want to run this article as an tutorial, be sure to reset"
<ixxie> makefu: I put it in introduction as "If you want reproduce the environment used in this tutorial exactly, you can git reset --hard 111c8db50038 in your local copy of Nixpkgs."
<nixoswikibot> [[Wiki Projects]] https://nixos.wiki/index.php?diff=805&oldid=766&rcid=802 * Ixxie * (-92) /* Body */
<ixxie> *scratched THAT off the todo list*
<makefu> great!
<nixoswikibot> [[Nix Ecosystem]] https://nixos.wiki/index.php?diff=806&oldid=736&rcid=803 * Ixxie * (+702)
<nixoswikibot> [[Nix Ecosystem]] https://nixos.wiki/index.php?diff=807&oldid=806&rcid=804 * Ixxie * (+0)
<nixoswikibot> [[Nix Ecosystem]] https://nixos.wiki/index.php?diff=808&oldid=807&rcid=805 * Ixxie * (+817) Wrote up the first paragraphs.
<nixoswikibot> [[Nix Ecosystem]] https://nixos.wiki/index.php?diff=809&oldid=808&rcid=806 * Ixxie * (+16)
<nixoswikibot> [[Nix Ecosystem]] https://nixos.wiki/index.php?diff=810&oldid=809&rcid=807 * Ixxie * (-1)
<nixoswikibot> [[Nix Ecosystem]] https://nixos.wiki/index.php?diff=811&oldid=810&rcid=808 * Ixxie * (+80)
ixxie has quit [(Quit: Lost terminal)]
<makefu> http://funops.co/nix-cookbook/ is pretty awesome for getting a quick overview
zarel has joined joined #nixos-wiki
ixxie has joined joined #nixos-wiki
<nixoswikibot> [[Sandbox]] ! https://nixos.wiki/index.php?diff=812&oldid=768&rcid=809 * Makefu * (+69) /* test */
<ixxie> makefu - kinda started on https://nixos.wiki/wiki/Nix_Ecosystem
<ixxie> but I am wondering this article should take a different structure
<ixxie> because if people want to read about each component they can read the articles for each component
<makefu> yes, this is what i thought as well
<ixxie> but I am not sure what the best way to go about this would be
<makefu> maybe a tl;dr for each component
<ixxie> the introductory paragraph does that
<ixxie> but what would the body of the article contain?
<ixxie> maybe a diagram
<makefu> uh, that would be nice
<ixxie> I have been meaning to do that for like a year
<ixxie> hold on, lemme find the email
<makefu> :D
<ixxie> these two are what others made in the past
<ixxie> I asked them in the email for what was done
<makefu> isn't building disnix on nixops?
<ixxie> I don't understand the question or the context makefu
<ixxie> these diagrams are in japanese
<ixxie> but kinda cool looking somehow
<makefu> on http://profpatsch.de/talks/nix/nix-stack.png disnix was right of nixops :D
<makefu> but yes an infographic may clear a lot things up
<makefu> relations between things
<makefu> the infographic of sander is only for deployment
<ixxie> makefu: hmmmm maybe it should show a cluster of machines - some NixOS, some Linux, some Darwin - using Nix, connecting to Nixpkgs / Hydra / etc - and using NixOps for deployment
zarel has quit [(Quit: Leaving)]
<ixxie> that would be hard to fit all together
<makefu> unfortunately i haven't used disnix or nixops. but a generic overview for all things nix would be fantastic
<ixxie> I haven't either
<ixxie> nor have I really touched Hydra xD
<ixxie> maybe two diagrams...
<makefu> i don't know many people who actually managed to set up hydra ...
<ixxie> makefu: I wanna do it this winter at some point
<makefu> for krebs we have buildbot with templated python code
<makefu> because hydra was too much of a hassle
<ixxie> so its not very polished yet eh?
<ixxie> well that means more of us should use it then no xD
<ixxie> what was so difficult about it?
<makefu> it takes so much stateful configuration
<makefu> not very nix-y
<ixxie> ironic
<makefu> yes
<nixoswikibot> [[Nix Ecosystem]] https://nixos.wiki/index.php?diff=813&oldid=811&rcid=810 * Ixxie * (-614)
<nixoswikibot> [[NixOS]] https://nixos.wiki/index.php?diff=814&oldid=735&rcid=811 * Ixxie * (+667)
<nixoswikibot> [[NixOS]] https://nixos.wiki/index.php?diff=815&oldid=814&rcid=812 * Ixxie * (+20)
<makefu> ixxie: isn't https://nixos.wiki/index.php?title=NixOS&diff=prev&oldid=814 part of how nix works, not nixos?
<ixxie> yeah but NixOS relies on Nix right xD
<ixxie> so we need a little explanation of that
<ixxie> mostly I just needed a sane place to store that since I wanted to remove it from the ecosystem article
<ixxie> we can transform it into a NixOS specific coverage of the nix/store
<ixxie> I will be mulling over the diagram idea as we work on the other skeleton articles
<ixxie> help appreciated of course ^^
<ixxie> I actually don't know much about profiles or the store honestly
<ixxie> beyond the basics
<ixxie> anyway time to go for dinner in town
<ixxie> have a good evening
<nixoswikibot> [[Nix Ecosystem]] https://nixos.wiki/index.php?diff=816&oldid=813&rcid=813 * Ixxie * (-21)
ixxie has quit [(Quit: Lost terminal)]
<nixoswikibot> [[Special:Log/move]] move * Makefu * moved [[Editor Modes]] to [[Editor Modes for Nix Files]]
U007D has quit [(Quit: My MacBook has gone to sleep. ZZZzzz…)]
U007D has joined joined #nixos-wiki
<samueldr> oh, there's quite a backlog to read here
zarel has joined joined #nixos-wiki
<fadenb> I will toy around with another oauth plugin for the wiki, it might break for a few seconds
<fadenb> so keep a copy of large edits your are currently doing ;)
<nixoswikibot> [[Sandbox]] https://nixos.wiki/index.php?diff=819&oldid=812&rcid=815 * Fadenb * (+6)
<makefu> fadenb: sure, go ahead. just make sure there are working backups :D
<samueldr> it might be too late
<makefu> di di diiii
<fadenb> just executed systemctl start mysql-backup.service as well as systemctl restart borgbackup-nixos.wiki.service ;)
<samueldr> :)
<samueldr> is the new login thing up?
<fadenb> was up and is gone :P should have read more carefully as it only supports auth delegation to another wiki
<fadenb> The issue with the current github auth is that we do not get an email address for the user
<fadenb> Without an email a user can not (re)set the password and therefore not use the normal login which would allow a user to set the "keep me logged in" flag
<samueldr> another app's permissions on github https://stuff.samueldr.com/screenshots/2017/09/20170909140446.png
<samueldr> right, that's the one I linked to from mediawiki's extensions wiki
<fadenb> samueldr: ah that is interesting, I always assumed email was no longer available due to an github api change (which broke the whole extension)
<samueldr> looks lieke a configuration scope might be needed
<samueldr> never worked with mediawiki nor this extensions, but worked with oauth and integrations
<samueldr> user,user:email might be neede
<samueldr> d
<samueldr> not sure about the format for the configuration key
<fadenb> hmm, configuring the scope in the config has no impact at all, even invalid scopes change nothing :P
<fadenb> I should propably just read the code
<samueldr> might need to revoke the app's permission?
<samueldr> this part is heavily dependent on how the extension would be made
<fadenb> seems like i needed to log out from github and back in again, wiki sent the correct data but github ignored it
<samueldr> after revoking
<fadenb> should look into that sometime. That might be a github bug
<samueldr> isn't filled in my profile, but it might be because the profile already existed
<fadenb> And seems like I found a fix for the redirect to the mainpaige. Can you verify that it is now redirecting to the page one came from after logging in via github?
<samueldr> seems like it works
<fadenb> Yay, one thing less that is broken. The original version of the plugin had some PRs. One had the fix: https://github.com/joostdekeijzer/mw-oauth2-client-extension/pull/4/files
<samueldr> an existing oauth2 user won't be filled with new information from the response
<samueldr> there's an eraly return in the if @183
<samueldr> yeah, just realized and was looking at it
<samueldr> I do wonder about the $user->load() after $user->set*
<nixoswikibot> [[NixOS]] https://nixos.wiki/index.php?diff=820&oldid=815&rcid=816 * Ixxie * (+0) /* Nix Store */
<nixoswikibot> [[NixOS]] https://nixos.wiki/index.php?diff=821&oldid=820&rcid=817 * Ixxie * (-20)
<fadenb> samueldr: do you by any chance know the correct value for "api_endpoint" when using Github oauth? I am using https://api.github.com/user which never returns email as it only show public info
<fadenb> api endpoint seems to be the correct one but github is a pain in the but: https://stackoverflow.com/questions/35373995/github-user-email-is-null-despite-useremail-scope
zarel has quit [(Quit: Leaving)]