=== geser_ is now known as geser [16:53] hi, I am creating a build recipe, and that I store the build dependency (debian folder) in a different branch of the dev branch.... ie) dev branch hello/trunk, control files would be in hello/recipe... I want to know if that's acceptable... or is there a better way? [16:54] so, when i build the package, its a matter of merging the dev branch and the recipe branch [16:55] That sounds like the kind of thing you can do with "nest" or maybe "nest-part" depending on the exact layout [16:55] The directory has to end up being called "debian" and at the top level of the source tree at the point when the source package is built by the recipe build, but it's up to you how you get it there [16:55] cjwatson, yeah you're right, but is it good practice to store the recipe in another branch of the project, or should i create another project just to save the control files [16:56] Personally I strongly prefer having full-source branches, so my packaging branches are descendants of the upstream branch and contain the full upstream source code, and I merge when new upstream releases happen. But there are various schools of thought on this. [16:57] Creating another project seems overkill. [16:57] cjwatson, i see that some people create another project for the control files, that's why I am asking [16:58] Another project in the technical Launchpad sense, or are you using that term loosely? URLs would help. [17:00] well, if you look at project enlightenment-svn, some build dependencies are stored in another project... The files are not stored in the same project or in a different branch [17:00] having a branch that contains the contents of debian/ under the same project is fine [17:01] Which particular recipe are you talking about? lp:enlightenment-svn has 23 recipes, I'm not looking through them all [17:01] URLs please :-) [17:01] dobey, thanks for the comfirmation, it just makes more sense to do that,,, [17:02] cjwatson, hang on [17:02] https://code.launchpad.net/~hannes-janetzek/+recipe/e20-daily [17:03] in there, he pulls in the debian control folder from ubuntu [17:03] Uh ... not as far as I can see [17:04] enlightenment-svn is his personal repo [17:04] Everything in that recipe comes from the same project [17:04] but lp:enlightenment-svn is Ubuntu's [17:04] no [17:04] No it's not [17:04] i though everything that starts with lp: is from Ubuntu [17:04] Ubuntu repo [17:04] No [17:05] lp: is just an abbreviation for bzr+ssh://bazaar.launchpad.net/ or https://bazaar.launchpad.net/ depending on what the client can do [17:05] It just means it's hosted on Launchpad [17:05] that is a project that person created for building daily packages of enlightenment for ubuntu on launchpad [17:05] lp:enlightenment-svn is shorthand for https://code.launchpad.net/~enlightenment-git/enlightenment-svn/packaging [17:05] And it's totally user-owned [17:06] The two branches in use in that recipe are lp:~hannes-janetzek/enlightenment-svn/e20-git and lp:enlightenment-svn, which are two different branches attached to the same project [17:06] sorry for my ignorance, how do you know this: lp:enlightenment-svn is shorthand for https://code.launchpad.net/~enlightenment-git/enlightenment-svn/packaging [17:07] the relationship [17:07] toan_: bzr info lp:enligtenment-svn [17:07] Go to https://code.launchpad.net/enlightenment-svn and you'll see a link which goes there [17:07] do you have to search the site to findout [17:07] oh [17:07] Or what jelmer said, or https://code.launchpad.net/+branch/enlightenment-svn takes you straight there [17:08] (you can always replace lp: with https://code.launchpad.net/+branch/ to find out what it expands to using only a browser) [17:08] Anyway, in general, lp: is whatever the maintainer of that project has designated to be the development focus branch for that project [17:09] It usually has nothing much to do with Ubuntu [17:09] oh [17:10] You would normally expect lp:~// to be branched off lp:, or at least to be closely related, but it's not actually mandatory [17:10] cjwatson, to have a lp:project, one has to register the project with launchpad right? [17:11] b/c I have only been creating personal branches, [17:11] Yes [17:12] ok, that's what I haven't gotten into yet, only experimenting with personal/user branches [17:12] But if it's based on an existing project's code, you should push branches to that project (lp:~your-username/project/branch-name) rather than creating a new project, which would be clutter [17:12] hm, how does one create e.g. lp:ubuntu/xenial/checkbox? I tried pushing directly and got an error. The dput went through OK, so it's not critical, just curious [17:12] roadmr: one doesn't [17:13] roadmr: creating the default branch there is a privileged op, but the importer is currently disabled because it's mostly too broken to live, see https://lists.ubuntu.com/archives/ubuntu-devel/2015-November/039010.html [17:14] roadmr: basically those branches tended to work until somebody actually tried to use them [17:15] cjwatson: ah, I was thinking something like that, yes. [17:15] cjwatson: no biggie, as I said the dput went through just fine so I'm all sorted out. [17:15] hi [17:15] thanks :) [17:16] is there a way to encrypt/hide/restrict some files uploaded to launchpad? [17:17] why would you do that? launchpad isn't a generic storage service [17:18] if you want private projects/etc… you can get a commercial support contract [17:18] https://launchpad.net/+tour/join-launchpad#commercial [17:19] a bug (which should be public) contains some files uploaded by an users that might contain sensitive data [17:20] verify there is no sensitive data; if there is, then it shouldn't be made public [17:21] there's no way to encrypt/restrict existing attachments. they could be deleted. comments can possibly be hidden [17:21] but the original description will always remain in history i think, even if edited [17:22] the description is ok [17:23] cjwatson, i am writing a recipe to build wireshark from my dev project, it can not find the branch, can you help please: https://code.launchpad.net/~tpham3783/+recipe/wireshark-daily [17:23] cjwatson, the error was "https://code.launchpad.net/~tpham3783/+recipe/wireshark-daily" [17:24] "bzr: ERROR: Not a branch: "bzr+ssh://bazaar.launchpad.net/~tpham3783/wireshark/trunk/"." [17:25] toan_: you have to wait for import to finish [17:25] You can see the import progress on https://code.launchpad.net/~tpham3783/wireshark/trunk [17:26] IIRC for big branches it takes several passes. Wait for "Recent revisions" to say something useful [17:28] my bad [17:32] thanks dobey === mwhudson is now known as Guest86296 === Guest86296 is now known as mwhudson === mwhudson is now known as Guest65934 === Guest65934 is now known as mwhudson [21:54] my project built successfully when building it locally and with option --allow-fallback-to-native [21:54] however, it failed to build on the launchpad server, how do i fix it [22:32] hi, the auto launchpad build does not create 32bit binaries for vivid, what can I do not make 32bit vivid? [22:33] cjwatson, ! [22:33] toan_: when you're asking about a failure, please link to it [22:34] https://code.launchpad.net/~tpham3783/+recipe/hello-github-daily [22:34] there's no installer for 32bit vivid [22:34] toan_: you've marked your package as architecture-independent [22:35] yeah [22:35] Architecture: all [22:35] that means it's only built on one architecture, and that build is published for use on all architectures [22:35] its all right now [22:35] it is set to all right now [22:36] if you want it to be built separately on each architecture - which you should, because this contains compiled code - then that should be "Architecture: any" [22:36] hmm, thanks, let me try that,, [22:36] "Architecture: all" is for things like packages consisting solely of interpreted code or data or whatever [22:36] https://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Architecture [22:37] cjwatson, gotcha! [22:39] cjwatson: so, "all" for things like a set of python scripts that aren't arch-specific (like, utility scripts or such), or Bash scripts or such, then is "all"? [22:39] cjwatson, i feel like launchpad should store/integrate packaging to the website interface, that we we dont have to merge packaging info to the dev branch [22:39] * teward wants to make sure that his understanding matches the definitions :) [22:39] s/definitions/real meaning of each/ [22:39] teward: yes [22:39] we=way [22:39] toan_: perhaps, but that's a huge project [22:39] realistically not likely to happen [22:40] it would be alot easier, i think, we can just create a package, purely from the website interface, everything stored in there too, no need to merge [22:40] like I say: perhaps, but that's a huge project, and not likely to happen [22:41] any interesting package needs to be maintained over time as well [22:43] cjwatson, can you help me, what's this error: https://launchpadlibrarian.net/234548913/upload_1058815_log.txt [22:43] toan_: you can't upload an identical-versioned tarball with different contents [22:43] that means that your recipe doesn't include the revision of the packaging branch in its version number [22:43] ^ [22:46] the first line should probably be something like: # bzr-builder version 0.4 deb-version {debupstream-base}+bzr{revno}-0+{revno:packaging} [22:46] thanks [22:46] adjust to taste [22:46] and see https://help.launchpad.net/Packaging/SourceBuilds/Recipes [22:46] (esp near the end) [22:47] anyway, got to deal with kids' bathtime now [22:47] i usually use {debupstream}+r{revno}.{revno:packaging} [22:48] cjwatson, thanks alot, i have have i386-32bit for vivid :-) [22:48] have=now [22:49] btw, vivid will be EOL in 2 weeks [22:52] cjwatson, the project at https://code.launchpad.net/~tpham3783/hello-github/trunk does not have any affilication with the "Hello, Github" project, how do i remove that? [22:53] in other words, it is just a personal test branch, somehow launchpad thinks its affilicated with the "hello-github" project [22:58] is it not that project's code? [23:05] no [23:05] it is not, i created a dummy project, but someone, i am not sure launchpad linked with hello-github [23:06] toan_: The hello-github project already existed, and you pushed your branch into it. [23:06] You didn't create a new project. [23:06] right [23:07] no, i created a personal project under, ~tpham3783/hello-github, then push some files from my dev machine onto the server [23:08] sorry, i did not push, i imported from github [23:08] no, that isn't a project [23:08] that is a branch [23:08] branch? [23:09] i have two branches, ~tpham3783/hello-github/trunk and .../master [23:09] yes, https://launchpad.net/hello-github is a project [23:09] someone else created and owns that project [23:09] you created an import of unrelated code into a branch under that project namespace [23:10] this is a bit confusing, so I can not have my own project with arbitrary names? [23:10] you can't have your own project with an arbitrary name, when someone else already has a project with that name [23:11] but otherwise, yes you can create any project with an arbitrary name which doesn't already exist [23:11] The key thing is that projects are namespaced globally. [23:11] My "hello-github" project and your "hello-github" project are the same project. [23:11] but a project is not a branch; though a project may have branches [23:11] So anyone can have branches within the main project. [23:11] So they're listed together, rather than spread across the site. [23:12] wgrant, gotcha, so if i just want to update load sources of unrelated project, i must make it unique, i think it will only be visible to me, (under my username space) [23:13] update=upload [23:13] toan_, all code in launchpad is public =) [23:13] and open source, that's terms of service for personal accounts. [23:14] toan_, so yes everything in https://code.launchpad.net/~tpham3783 is yours. And for any project in launchpad, you can make lp:~tpham3783/$project/$name_of_your_fork_or_branch [23:14] wgrant, so how do i unlink my "hello-github" with the "hello-github" main project? [23:15] toan_, however, they can be viewed both under https://code.launchpad.net/~tpham3783 (along with other code by you) and https://code.launchpad.net/$project (along with branches by other people, but for this project) [23:15] toan_, in bzr there are lp:~/+junk/$branch branches, that is under "project" +junk aka un-affiliated to anything. [23:16] toan_, but then it's not related to any projects, and one cannot do branch merge proposals, etc. [23:16] toan_: You need to pick a different name for the project, register it at https://launchpad.net/projects/+new, then transfer the branches over using their "Change details" link. [23:17] xnox, that clears up a bit, I should have used +junk since I did not want it be affliate with any other projects [23:17] Or, as xnox suggests, you can make them not related to any project ("+junk") by selecting Personal on "Change details". [23:18] wgrant, thank you, this whole launchpad dev. is really new to me, i have always been a git user, and did not care about launchpad until I realize I needed it for auto. distribution [23:22] toan_: The main problem that people have is that LP has overarching global projects, and multiple people can own code within them. GitHub's closest analogue is the "network" of repos that were forked from each other, but it's much less explicit. [23:25] wgrant, thanks, that's a good description.... a general sense, instead of having a button for me a fork a project; i just create one and mark it's affilication to the parent (main) project [23:26] and that's merge requests are implimented, from the affiliation network [23:26] toan_: You create a Bazaar branch or Git repo within the existing project. [23:27] GitHub's top-level object is the Git repository, because they primarily focus on Git repositories. [23:27] But LP does all sorts of things, so the top level object is the project, which can contain numerous Git repositories. [23:28] wgrant, can i have namespace in my personal (+junk) project? [23:28] so i can have something like, ~tpham3783/+junk/project1/test_branch1 [23:28] Afraid not. [23:28] It will be easier once Git recipes exist, though. [23:28] likewise, +junk/project2/test_branch2 [23:29] Because then you'll have the branch namespace within every repository, and can use it to build recipes. [23:29] cjwatson, git recipes???? can you give me a link to read about it [23:30] when will that happen? [23:30] If a branch is actually associated with an LP project, it should be in ~tpham3783/that-project-name/blah, not +junk [23:30] toan_: I can't give you a link because I'm still finishing it :-) [23:30] toan_: Probably only a week or two out at this point [23:30] it will be available on the site for everyone right? [23:31] Yes [23:32] However, creating a project is easy. [23:32] If you want to do anything non-trivial then you quite possibly just want to create a project. [23:35] bzr does not have a concept of a project, correct? b/c in git when you clone, you clone the project [23:35] with bzr, you use bzr branch to clone a branch [23:35] Neither VCS has the concept of a project. [23:35] that's weird [23:36] In bzr branch clone a branch, in git you clone a repository. [23:36] wgrant, that's correct,,,,, i think git is still better [23:36] It's actually Git's model that's weird, but if Git's the first VCS you've used then you might disagree. [23:37] i used svn before, but git is way better [23:37] now, bzr is a bit different [23:38] how would you do this with bzr, git checkout -b "bugtest" # create a new branch from the master branch, which can be merged back later [23:39] since it does not have a concept of multiple branches from the same repo... i dont understand how it would work [23:40] toan_: I have a directory like ~/src/project/trunk. If I want to create a new branch, from ~/src/project I just "bzr branch trunk some-feature". [23:40] Bazaar by default has one directory per branch. [23:40] But it also supports having multiple branches in one directory, if you want to work that way. [23:40] Both models are supported. [23:42] wgrant, once the git-recipe does out, does that mean that LP will also support git, along with bzr? [23:42] does=goes [23:43] toan_: LP already supports Git repositories and several common features on top of them. Recipes are the next feature that will support Git. [23:44] wgrant: no LP GUI interface for git yet? [23:44] or at least, not easily accessible? [23:44] wgrant, I mean use git to push and create repo on LP [23:44] LP already supports Git repositories and several common features on top of them [23:44] toan_: That works fine today. [23:44] teward: Which bit of UI are you missing? [23:44] really? b/c all i know is the git import feature, [23:45] wgrant: basically, finding a list of Git repos attributed to a given user [23:45] wgrant, so i can just add a git remote and push directly to LP? can you give me a writeup reference please, cuz i haven't seen anything like that [23:45] also haven't checked recently, hence the question if a GUI interface has been made available [23:45] (having my own GitLab means I can just drop crap there heh) [23:46] (hence not keeping too close an eye on Git support on LP) [23:49] teward: https://launchpad.net/~wgrant/+git [23:49] https://code.launchpad.net/turnip [23:49] etc [23:49] toan_: https://help.launchpad.net/Code/Git [23:49] ah, nice, +git was what i was seeking, cool. [23:50] teward: There's an obscure link on https://code.launchpad.net/~wgrant [23:50] For projects it's easy, since we just show whichever VCS the project has set as its primary VCS. [23:50] But for people we don't have that luxury. [23:54] ahhh, there's the obscure link [23:57] wgrant: thanks, that's actually what I was looking for heh [23:57] i'll have to make some scripts to help me create gitrepos on lp going forward; so used to my GitLab instance, i'll need maintainer scripts for anything else xD [23:57] s/maintainer/utility/