=== maclin1 is now known as maclin [03:12] hi [03:12] playig launchpad? === chihchun_afk is now known as chihchun [08:06] wgrant: hello! last week i ask to fix my account login error because of my openstack account. do you remember me? === gkadam is now known as Guest13716 === JanC_ is now known as JanC === chihchun is now known as chihchun_afk [14:18] Hello, i create an account "kuldeepdhaka" create PPA "madresistor". now i want to build my packages "libbox0", "libreplot" etc and make them available under "madresistor". [14:19] the video https://www.youtube.com/watch?v=_bG-SXNX9Ww is for bzr. my packages will be build from git, (code here https://gitlab.com/madresistor) anyone can help me understand the launchpad mechanism on how to add my packages? :) [14:20] (and build them and make them available) [14:36] anyone? [14:36] kuldeep: You'll want to first arrange for your repositories to be imported into Launchpad's git hosting (https://help.launchpad.net/VcsImports), and then you can use a git recipe to build them, much like the system for bzr (https://help.launchpad.net/Packaging/SourceBuilds) [14:38] ok, i will import the git repo. === chihchun_afk is now known as chihchun [14:40] "Make sure the project is registered in Launchpad" shall i register madresistor as a project? (or just go on without it) [14:40] cjwatson, ^ [14:42] or should i register "box0" as a project? [14:46] I have no idea about the structure of your project. [14:47] ok, "Mad Resistor" is the organisation, "Box0" is a project/product of "Mad Resistor". [14:47] cjwatson, make sense? ^ [14:47] box0 would be a more appropriate match for a Launchpad project, then. [14:47] ok [14:48] madresistor could be a "project group" in Launchpad if you needed it, but that usually isn't necessary. [14:50] that can be done later [14:57] https://code.launchpad.net/+code-imports/+new "**Name:**" "This will be used in the branch or repository URL to identify the import. Examples: main, trunk." i have no experience with any git VCS. should i enter "master" in that input box? [14:58] cjwatson, ^ :) [14:59] *i have no experience with any VCS other than git [15:02] kuldeep: For git-to-git imports it should typically just be the repository name, so in this case "box0". [15:02] (The text was written for *-to-bzr imports, which are per-branch rather than per-repository, so it needs a bit of work.) [15:03] im importing https://gitlab.com/madresistor/libbox0 [15:04] cjwatson, i guess you want to say "libbox0" right? [15:04] Sure, libbox0 if that's what you're importing. [15:06] i confused the Project and Name field. Project should have be the project that i created "box0" and "libbox0" should be in the field Name to tell the git repository name. [15:07] What? [15:07] Oh, probably. [15:08] importing code :D [15:08] You could argue for libbox0 being a separate project, but whatever. [15:09] the words are very related, so thing get confusing. [15:10] ok, i have imported the git repo. i can see the commits. [15:14] cjwatson, maybe i forgot to tell that, Box0 contain a C library (libbox0), GUI programs (box0-studio-qt and liab-studio-qt - both need libbox0). so the structure i made seems wrong. [15:15] honestly it doesn't matter that much if it's mainly for a recipe. [15:17] cjwatson, yes, but i dont want to build up confusing things right from start. i will take the effort do it nicely in the first go. :) [15:18] I tend to think of one-project-per-upstream-repository as a decent rule of thumb. === chihchun is now known as chihchun_afk [15:28] cjwatson, ok, i will just register "libbox0" as a project. later i can do project group on the name of "Box0" or "Mad Resistor". [15:33] * kuldeep confused with git "branch" and lp "branch" word usage. [15:35] they should be synonymous, except that there might be a few places where LP uses "branch" where it means "branch or repository" [15:37] (going out for a while now) [15:37] ok [15:47] https://code.launchpad.net/libbox0/+configure-code "There are 2 errors." but no error being shown. :/ [15:50] im using the option "Import a Git repository hosted somewhere else" [15:54] now it just worked. :) (from another tab.) [16:07] now this is another fact i came to know: i need a team to make PPA "Every individual and team in Launchpad can have one or more PPAs, each with its own URL. " https://help.launchpad.net/Packaging/PPA [16:08] i cannot describe the hard time im going through. [16:09] all i just wanted to have was: fetch the gitlab code, build the binaries for ubuntu and store them. [16:09] kuldeep: you don't need a team to have a ppa, your lp user has ppas as well [16:09] afaik [16:11] whole ecosystem is mixed up. source-code-mgmt + ubutntu-ppa = launchpad.net. why couldn't they be two seperate things? just simply let me keep my build my ppa's. [16:11] *build my binaries [16:12] thank, i cannot delete the project that i created. because no project deletion code has been done. lol [16:16] nacc, that what i had done earlier, a PPA "madresistor" but then these extra element of source-code-mgmt confused me. i had hard time figuring out that the whole thing is poorly though out. [16:16] *thought [16:17] source code mgmt and ppas are separate [16:17] afaict [16:17] unless you are using recipes, which are explicitly a way to tie them together [16:20] well, the source management and PPA are still separate things [16:20] a recipe is just a statement of "please take this one and put it into a package in the other [16:21] nacc, yes but for newcommer its a nightmare. im not familar with the terms at all [16:21] dobey: good point [16:22] kuldeep: which terms? did you read the online documentation? [16:22] nacc, i read the online documentation and looking at it, git is being treated as step child. [16:22] git support in launchpad was only very recently added [16:23] kuldeep: well, lp only relatively recently added git suport [16:23] what dobey said :) [16:23] launchpad itself is over 10 years old; git repository support is something that only really happened this year [16:24] if you don't want to use recipes, you can create and sign source packages yourself, and then upload them manually to your PPA with dput [16:24] i have an lp.net account, what is the most straight forward way to build packages for ubuntu. [16:25] to use recipes, you must import the code onto launchpad.net into either a git repo or a bzr branch [16:25] kuldeep: do you want them 'automatically' built or 'manually' request them to build? [16:25] what dobey just listed off are those two options, imo, (in the opposite order) [16:25] i don't know if you can import to private git repos without creating projects though [16:26] nacc: well no, recipes can be set to automatic or manual :) [16:26] dobey, do i need to create a "project" for that? (or i can just use import it under my account as git repo) [16:26] dobey: ah :) [16:27] also, i want to automatically build new package when a new commit is pushed. (or once everyday if new commit are there) - whichever, im fine [16:27] kuldeep: i don't know enough to answer that exactly. i /think/ you have a single personal git repo, and you can't import to it, which would mean the need to create projects [16:29] https://gitlab.com/madresistor/libbox0 https://gitlab.com/madresistor/box0-studio-qt https://gitlab.com/madresistor/libreplot and a few other. (all git repo, and each repo will be a "{}.deb" file for ubuntu) [16:29] dobey, that detail is enough? [16:31] no, you need to define how to build the packages from the source inside a debian/ dir in each project [16:31] that can be on the master branch or on a different packaging branch [16:32] right, recipes/lp-git-integration doen't solve that you still need to package up your source (afaict) [16:33] ok, i will put them under "ubuntu-ppa" branch (branch as in `git branch`) and we can later do a temporary merge before building. right? [16:33] the recipe can have an instruction to merge a packaging branch [16:33] ok. [16:34] another option you might want to look at is building snaps instead of debs, with snapcraft (https://snapcraft.io) [16:34] which can also be done automatically on launchpad.net, and is somewhat less involved than building debs [16:36] i will stick with ppa for the moment. my aim is ubuntu package. (i have already confused myself with many other options) [16:37] dobey, (minor query: any possibilty that i can delete the project "Box0" and "libbox0" that i created? - looking a issue raised it says no such facility implemented) [16:38] no, you can't delete projects [16:39] dobey, can i build ubuntu packages without having to create any project? (import the gitlab git code under my account and build the ppa from git code under my account) [16:39] as i said earlier, i don't think so [16:39] *create any project (project as in "Mozilla Firefox" https://launchpad.net/firefox)? [16:39] dobey, ok [16:39] and to be accurate, even with a project the code import would still be "under your account" [16:41] so, i will be forced to use lp.net to use recipe facility? [16:43] i mean, i have to maintain another project page just for having a ppa. :/ [16:45] i'm not going to argue with you [16:46] dobey, im not trying to argue, im simply trying to understand what can be done in a easy straightforward way to get my package to ubuntu. [16:46] spending hour on this, and still no outcome make me sad. [16:46] *hours [16:47] you don't really have to "maintain" anything [16:47] will be back after food. [16:47] you're making it much harder than it is [16:48] dobey, ok, after food, i can a clean approch. [16:48] thank you for helping everyone [18:32] we can delete (well, technically hide) projects on request. https://answers.launchpad.net/launchpad/+addquestion [18:34] cjwatson, ok [18:34] well, now i can resume on the work. [18:34] dobey, :) [18:35] and indeed, from where you are the main thing you need to do is to prepare actual packaging files, i.e. debian/*; those can live in a separate branch or even in a separate repository if you like [18:37] ok [18:37] dobey is correct that you need a project to host a code import from another site (although not to push a repository directly to LP) [18:37] in the new year maybe I'll see if I can hunt down a reason for that, since it doesn't seem to be an especially well-founded restriction [18:39] as for the documentation, there are definitely gaps where git isn't mentioned and should be; happy to receive pointers to problems so that we can fix them (https://bugs.launchpad.net/launchpad/+filebug is fine for that) [18:40] in terms of development effort we regard git as a first-class citizen though, since bzr isn't getting much love any more [18:50] i have a project https://launchpad.net/libbox0 and PPA https://launchpad.net/~kuldeepdhaka/+archive/ubuntu/box0 [18:53] now as cjwatson wasid i need to have debian/* files. === JanC is now known as Guest67153 === JanC_ is now known as JanC [23:37] I'm trying to help a colleague setup a Launchpad account. He created an account, confirmed his email. He can login to Ubuntu One, but when trying to login to Launchpad, after clicking "Yes, log me in", it fails with the Launchpad crash page "something went wrong". [23:48] finally i have https://gist.github.com/kuldeepdhaka/79f3b0b59e3d504abe73000909b958a4 (additionally: `changelog` file is empty and `compact` file content "9") [23:48] dobey, cjwatson nacc ^ [23:50] rlaager: Can you raise a ticket on https://answers.launchpad.net/launchpad/+addquestion with the OOPS ID they should have got? [23:51] kuldeep: That's a start. You can use the dch(1) tool to deal with debian/changelog, and that should be debian/compat (short for compatibility level) not debian/compact. [23:51] im still curious how will the libbox0 and libbox0-dev will be divided. my cmake script will generate a makefile, and `make install` will install header and binary at once [23:51] cjwatson: Done: https://answers.launchpad.net/launchpad/+question/407771 [23:51] kuldeep: You can use https://anonscm.debian.org/cgit/users/cjwatson/libpipeline.git/ if you want an example of a simple library package. [23:51] kuldeep: that's specified by debian/libbox0.* files and debian/libbox0-dev.* files [23:52] e.g. libbox0.install [23:52] (Obviously everything outside debian/ will be different, and there'll be various differences in detail.) [23:53] cjwatson, thanks, will look into it [23:53] And as nacc says. [23:53] kuldeep: this may help: .launchpad.net/launchpad/+question/407771 [23:53] bah [23:54] https://www.debian.org/doc/manuals/maint-guide/dother.en.html [23:54] kuldeep: --^ [23:55] * cjwatson goes back to amateur music typesetting [23:57] kuldeep: and as cjwatson pointed you to, looking at other library source packages is probably a good reference, especially if all they generate is a lib and lib-dev like yours