18:30:03 #startmeeting docs 18:30:03 Meeting started Wed Aug 24 18:30:03 2022 UTC. 18:30:03 This meeting is logged and archived in a public location. 18:30:03 The chair is bcotton. Information about MeetBot at https://fedoraproject.org/wiki/Zodbot#Meeting_Functions. 18:30:03 Useful Commands: #action #agreed #halp #info #idea #link #topic. 18:30:03 The meeting name has been set to 'docs' 18:30:14 #topic Roll call 18:30:21 .hi 18:30:22 pboy: pboy 'Peter Boy' 18:30:25 #chair pboy darknao pbokoc 18:30:25 Current chairs: bcotton darknao pbokoc pboy 18:30:40 .hello py0xc3 18:30:41 py0xc3[m]: py0xc3 'Christopher Klooz' 18:30:42 .hi 18:30:47 darknao: darknao 'Francois Andrieu' 18:31:50 Hi 18:31:50 welcome everyone 18:32:06 Hi 18:32:39 zodbot needs .hi to get included in the participants list 18:33:06 .hi 18:33:07 AnushkaJain[m]1: Sorry, but user 'AnushkaJain [m] 1' does not exist 18:33:19 If you use Matrix you need .hello 18:33:29 ;) 18:33:33 .hello 18:33:33 AnushkaJain[m]1: (hello ) -- Alias for "hellomynameis $1". 18:33:43 #topic Announcements 18:34:00 #info Some F36 release notes still need to be written https://pagure.io/fedora-docs/release-notes/roadmap/F36 18:34:16 Anushka Jain: say: .hello 18:34:22 #info The F37 Beta freeze has begun. Expect to see some Changes deferred to F38 18:34:50 #info We use GitLab to track work: https://gitlab.com/groups/fedora/docs/-/boards 18:34:54 .hello likeanushkaa 18:34:55 AnushkaJain[m]1: likeanushkaa 'Anushka Jain' 18:35:00 Any other announcements? 18:36:03 #topic Review action items 18:36:19 #info pboy and py0xc3 to prepare a proposal to integrate the new docs into the team pages. 18:36:34 Done 18:36:40 pboy and I have drafted it today: https://gitlab.com/fedora/docs/community-tools/documentation-contributors-guide/-/blob/stg/modules/ROOT/nav.adoc 18:37:21 Some comments in https://gitlab.com/fedora/docs/community-tools/documentation-contributors-guide/-/merge_requests/4 18:37:38 #link https://gitlab.com/fedora/docs/community-tools/documentation-contributors-guide/-/merge_requests/4 18:38:00 this leads us into the next topic... 18:38:16 #topic Conflict between MR/"stg" branch and "main" branch in Docs repo 18:38:25 #link https://discussion.fedoraproject.org/t/conflict-between-mr-stg-branch-and-main-branch-in-docs-repo/41640 18:38:43 We have to prepare our workflow somehow to avoid this. The more contribution and contributors we get, the more often this will happen and conflicts can sometimes cause a lot of work. 18:39:04 There is a comment with a summary within the MR page 18:39:19 my opinion is you can't avoid dealing with merge conflict, that part of the git workflow 18:39:35 especially when you keep MR open for a long time 18:39:58 Well, checking MR before making a direct commit could avoid already much. 18:40:14 In such a case a commit can be made simply into the MR 18:40:34 Just as one possibility 18:41:00 that what rebase is for, to take everything from the main branch into your MR 18:41:23 Rebase does not work if there is a conflict ;) 18:41:52 I don't talk about rebasing. I agree that this is absolutely fine. And there can be direct commits. The problem is causing conflicts that make rebasing impossible. 18:42:20 rebase will require you do fix conflicts, but a merge commit will need that too 18:42:21 Well, my approach now would be to create a new MR for main from the contributions in STG. A simple merge is not enough in most cases anyway, but it requires rework. 18:42:25 * py0xc3[m] uploaded an image: (10KiB) < https://libera.ems.host/_matrix/media/r0/download/fedora.im/0269308947caf55932e16abfaccf2a267683b015/rebase-failed.png > 18:42:56 pboy: The MR is already from stg to main 18:43:30 Don't know, whether that is a good idea. 18:43:37 It's fine for programming 18:43:47 But texts used to be a bit different. 18:44:19 pboy: I think this is part of the problem. We work more often at the same time in the same files. 18:45:04 Yeah, that's one source of trouble. 18:45:23 E.g., the issue could have been solved by adding commits that affect files which are changed in the MR to the MR instead of to "main" directly 18:45:37 The other may be, we want only parts of the changes into main. 18:46:01 Or making smaller and thus faster MR 18:46:52 That 'faster' may be a problem when discussing complex texts and finetuning wording. 18:46:53 but we have already more conflicts in one other MR. So its not the first time. We have to be faster in processing what externals suggest. Doesn't motivate them if we let their MR open and then close them because of conflicts 18:47:29 there is no reason to close a MR just because of conflicts 18:47:34 pboy: Indeed. Or initially make this in comments in tickets or MR? 18:47:38 we can fix these easily 18:48:04 darknao: No. normally not. But at some points solving conflicts after several months can be more work than doing it again. People will only see that their MR is closed, not that we did it somewhere else again 18:48:24 Yeah, or we all merge into stg, and to bring that to main and into the public is for someone, to whom we dedicate the task. 18:48:31 Is there some automated way if rebase does no longer work? 18:48:37 either the contributor can do it, if they're willing to, or we can do that for them 18:49:04 we can always do that in the same MR 18:49:09 gitlab allows that 18:49:19 darknao: is there an easy+fast way? e.g., in this case? 18:49:37 and you can always rebase, you just need to solve conflict manually 18:49:43 I would do it manually, each step, if rebase fails. 18:49:45 gitlab have a mini how-to for that 18:50:05 darknao: That's my point :) 18:50:38 darknao: do you know the link? 18:51:17 I just know the manual way, which is vulnerable and takes increasingly time the deeper conflicts are 18:51:17 there is no direct link, but you can find it by clicking on [Code] -> Checkout code in any MR 18:51:31 Nevertheless, the question is, how we use stg. I think, it is a view into the future and the planning, and we will make only part of it public, i.e. add it do main. 18:52:10 pboy: Your idea of merging external contributions quickly into stg sounded good 18:52:21 darknao: Thanks! I'll check that 18:52:24 Of what we discussed today, I think we can only make 2-3 itmes public, the rest shuĆ³uld stay in stg for further development and work upon. 18:53:45 And maybe one of us takes over the task to make those items public we agree upon. 18:54:34 And stg is semi-public all the time. Es externals get their work worshiped 18:54:48 GitLab does not support doing this in the interface. We have to do this in command line of git: https://gitlab.com/help/user/project/merge_requests/conflicts#resolve-conflicts-from-the-command-line 18:55:21 py0xc3[m]: well, actually, you can do it on the webui 18:55:23 That's the forwarding of the code > checkout in the MR 18:56:08 but that's not compatible with the fast-forward merge type we enforce 18:56:20 I think, CLI is OK, at least for me. If I had to do it, I would check it out and work on it locally anyway. 18:56:40 we can switch to the more classical merge commit, you'll still need to resolve conflict, but that can be done on the webui this time 18:56:59 and will make much harder for us to cherry-pick commit from one branch to another 18:57:15 Ok. I would be fine with both. Maybe it makes sense that everyone can check out both possibilities on themselves and postpone a decision? 18:57:36 Ok, cherry picks would be important I think. 18:58:14 So two technical possibilities, or alternatively a social one with shifting the task to contributors 18:58:59 to me, that should be us to do the rebase once the MR is ready to be merged 18:59:08 Well, I'm open to everything. Just would like to avoid to waste increasing time for solving conflicts. The more people contribute, the more often this will happen, and the more complex it becomes. 18:59:23 darknao: This is how the workflow intends it at the moment. 18:59:25 contributors can do it too, but only if they are willing to and are confortable enough with manual rebase 18:59:36 But the automated rebase is one thing, solving manually conflicts the other. 19:00:08 darknao: I guess this is unlikely :) The 7 steps already exclude any branches as these created confusion 19:00:43 I think checking in advance to avoid conflicts (I'm not talking about rebasing) saves more time than doing it later, at least in the interface we currently use 19:01:07 Hm, mayve I'm too conservative. At least in an early stage of a text, as the teampage now, I would prefer to merge to stg and determin an editor, who make selectiv parts public in main. 19:01:52 At later stages things may be different. 19:02:04 pboy: the issue is currently in stg (conflict between stg and main) 19:02:13 if I got your comment right (not sure tbh)? 19:04:01 But indeed, at the moment there is no rule to merge external MR first into stg. Do you want to change that? I have no problem with both 19:04:15 I think, we can close the MR in relation to main, and open a new MR / commit to main using plain copy and paste and editing and proofreading. The latter should be done anyway. 19:04:56 It's not code, it is meaningful text. 19:06:16 External contribs into stg is a good idea for me. 19:07:14 pboy: I don't really understand that. So make any change we did manually again to main? Not sure if git will identify the changes to be equal. If the files have been already changed, I guess it will still see a conflict. So the branches would remain incompatible. Manual changes remain 19:07:31 using stage as a step between the MR and the main branch just seems like it would introduce more problems than it would solve 19:07:32 pboy: At the moment, the revision is intended for the MR or issue ticket. 19:07:51 bcotton: I think this could be true. 19:08:03 I personally think we shouldn't use stg for editing 19:08:33 darknao: Indeed a good point. I think this could maybe even solve the issue widely? 19:08:40 everything should go straight on main branch 19:09:00 there is nothing critical, and you can't break anything really 19:09:00 stg is more for technical things that need testing? 19:09:12 py0xc3[m]: right 19:09:24 Obviously, I don't oversee anything in detail. :-) 19:10:04 even if the doc is not perfect right now in stg, it's still better to what we have in production 19:10:05 darknao: +1. And see how far the issue happens again. But I think this could make other rules obsolete. 19:10:51 pboy: pboy: you can do MR from everywhere to main. And discussions can take place within the MR, or an issue ticket. 19:11:07 darknao: agreed, But nevertheless, not everything is ready to get published. 19:12:01 py0xc3[m] yes, I see that. But obviously various issues can arise. 19:12:52 I guess that depends on what you mean by "ready", or more precisely, when are you considering a page "good enough" for publishing 19:14:20 Yes, indeed. I think it should be a self-supporting, meaningful text. 19:14:30 pboy: this does not mean that everything has to be published immediately. You can still work in your own branch / fork. But then you know what you did and have your dedicated fork/branch only with the changes you know. This makes it easier. Not a stg with many changes throughout over a long period 19:15:58 Not necessarpy0xc3[m] If we want to have a reals preview, several contributors would have to merge in their contributions, I think. 19:16:36 So, will often have a "stg with many changes throughout over a long period" 19:16:40 Well. I think for our texts, we can use GitLab. I need to preview. GitLab can already interpret asciiDoc. 19:16:54 -to +no 19:17:23 The remaining thing is about the technical background, which remains in stg 19:17:35 Yeah, but preview does not mean just on article, but the context as well! 19:19:07 A type question is how well the individual items fit together. Are connections also typographically clear. This should be seen before publication. 19:19:24 Hmmm... Personally, I have worked so far with the GitLab preview only and was happy with it. I can see if there is an issue in asciiDoc formatting, can check text, but I can also create a preview with the preview.sh if I need to see the outcome in the end. But I will not insist on others doing it as well. If others feel not good with that, we need an alternative 19:20:30 Maybe someone has a solution for that? I'm not that fit with our framework/backend 19:20:44 most merge requests we get aren't going to be of the "dramatically changes the site" form, they're going to be of the "adds a single page" or "makes a minor correction". so we should focus our workflow on those cases 19:20:58 we have local preview scripts for when we have major changes to look at holistically 19:22:03 Well, like I said, maybe I'm too conservative a text / book editor (a "Lektor" in German, don't know the English term). 19:22:14 Maybe it makes sense to change the question (I'm not sure if I understood the current problem): What is the issue that can rise if we not use stg 19:22:28 lecturer :) 19:22:40 I guess ^^ 19:22:46 Thanks 19:23:35 py0xc3[m]: I have to correct myself: lector 19:24:14 so where do we stand on this? is there more that needs to be done or do we have the immediate problem resolved? 19:25:56 I'm open to alternatives but for now I would be +1 to not use stg for content? 19:25:58 I woud like to make selectively some of the changes public, py0xc3[m] and me discussed today. I don't know, if that is possible 19:26:27 Given the interface we use, solving conflicts can take time 19:27:05 pboy: If you want, we can have a talk in the next days. If I got your problem correctly, working in a fork or so should solve it. 19:27:39 py0xc3[m]. Good for me, way very productive today. :-) 19:28:13 My opinion too ^^ 19:28:17 I think, a fork is a good idea. 19:28:17 #topic Open floor 19:28:32 Then we can check what the issue is, but I think your goal should be achievable without stg 19:28:46 OK 19:28:59 I'd hoped we have some time to discuss this thread, but it will have to wait for next week. so feel free to discuss asynchronously 19:29:00 I think my last MR (which was merged into yours) is what you want 19:29:00 #link https://discussion.fedoraproject.org/t/the-future-of-fedora-docs-website/41706/ 19:29:01 also 19:29:24 #info bcotton intends to step down from the Docs Board at the end of August 19:29:37 @ all: also feel free to discuss in the current MR what you think of the draft structure 19:29:41 Rejected. 19:29:48 I think we can do this asynchronously 19:29:58 bcotton: Rejected. :-) 19:30:15 we're getting into the busy season for the release cycle and I need to focus more energy elsewhere, so in the interests of being clear about my ability to participate, I'm going to not pretend that i'll be more active than I can be 19:30:25 pboy: I reject the rejection :-D 19:30:44 Sad to hear that, but I understand you have other obligations in the community 19:31:16 We're more active than we were at the beginning of the year, so I hope the momentum carries on :-) 19:31:32 We will try to survive ^^ 19:31:47 bcotton I think, we still need you, at least for some time. 19:32:03 but for now, our hour is up. see you all next week (and also before then in the usual places) 19:32:08 Maybe less active than currently, but nevertheless 19:32:13 #endmeeting