Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Issue 2481183002: Generate ADMX template for Chrome OS policies (Closed)

Created:
4 years, 1 month ago by ljusten (tachyonic)
Modified:
3 years, 3 months ago
Reviewers:
pastarmovj
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Generate ADMX template for Chrome OS policies Generates an ADMX template to be used for editing policy on a Windows AD server. The resulting GPOs can be fetched with the authpolicy code written for the Chromad project (see Chromium OS code base). A single ADMX template is generated that contains both user and device policy, using ADMX's CLASS attribute to distinguish the two. BUG=638560 TEST=Compiles and generates templates Review-Url: https://chromiumcodereview.appspot.com/2481183002 Cr-Commit-Position: refs/heads/master@{#503142} Committed: https://chromium.googlesource.com/chromium/src/+/7a912ab95678117a84e94a33fb9e69da77d98f28

Patch Set 1 #

Patch Set 2 : Fixes and minor refactoring (pack_policy_templates was broken) #

Patch Set 3 : Fix for pack_policy_templates target #

Patch Set 4 : rebase #

Patch Set 5 : rebase #

Patch Set 6 : Working side-by-side ADMX templates for Win/CrOS #

Patch Set 7 : rebase #

Patch Set 8 : Rebase #

Patch Set 9 : Support for same enum names in different policies #

Patch Set 10 : Rebase #

Patch Set 11 : Add Chrome OS ADMX templates to zip file #

Patch Set 12 : Removed debug code #

Patch Set 13 : Rebase #

Patch Set 14 : Couple of fixes after testing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+723 lines, -231 lines) Patch
M components/policy/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +43 lines, -2 lines 0 comments Download
M components/policy/resources/policy_templates.gni View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +23 lines, -0 lines 0 comments Download
M components/policy/resources/policy_templates.json View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +13 lines, -1 line 0 comments Download
M components/policy/tools/template_writers/template_formatter.py View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +44 lines, -38 lines 0 comments Download
M components/policy/tools/template_writers/test_suite_all.py View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +4 lines, -0 lines 0 comments Download
M components/policy/tools/template_writers/writer_configuration.py View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +60 lines, -25 lines 0 comments Download
M components/policy/tools/template_writers/writers/adm_writer.py View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +16 lines, -10 lines 0 comments Download
M components/policy/tools/template_writers/writers/adml_writer.py View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +7 lines, -4 lines 0 comments Download
M components/policy/tools/template_writers/writers/adml_writer_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 10 chunks +57 lines, -27 lines 0 comments Download
M components/policy/tools/template_writers/writers/admx_writer.py View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +22 lines, -14 lines 0 comments Download
M components/policy/tools/template_writers/writers/admx_writer_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 19 chunks +121 lines, -63 lines 0 comments Download
A components/policy/tools/template_writers/writers/chromeos_adml_writer.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +16 lines, -0 lines 0 comments Download
A components/policy/tools/template_writers/writers/chromeos_adml_writer_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +52 lines, -0 lines 0 comments Download
A components/policy/tools/template_writers/writers/chromeos_admx_writer.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +27 lines, -0 lines 0 comments Download
A components/policy/tools/template_writers/writers/chromeos_admx_writer_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +101 lines, -0 lines 0 comments Download
M components/policy/tools/template_writers/writers/doc_writer.py View 1 2 3 4 5 6 7 8 9 10 11 12 11 chunks +58 lines, -30 lines 0 comments Download
M components/policy/tools/template_writers/writers/doc_writer_unittest.py View 1 2 3 4 5 6 7 8 9 10 11 12 16 chunks +56 lines, -15 lines 0 comments Download
M components/policy/tools/template_writers/writers/reg_writer.py View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 33 (14 generated)
ljusten (tachyonic)
As discussed, PTAL. If you're surprised about the '_Item' suffix addition, there was a name ...
4 years, 1 month ago (2016-11-07 13:20:18 UTC) #2
pastarmovj
test if branded builds are ok otherwise lgtm.
4 years, 1 month ago (2016-11-08 12:16:37 UTC) #7
ljusten (tachyonic)
On 2016/11/08 12:16:37, pastarmovj wrote: > test if branded builds are ok otherwise lgtm. Everything ...
3 years, 11 months ago (2017-01-04 16:25:20 UTC) #9
pastarmovj
no new objections on my end - you are good to go as long as ...
3 years, 11 months ago (2017-01-04 17:04:36 UTC) #10
ljusten (tachyonic)
thakis@chromium.org: pastarmovj@ has already checked this CL, but he's not an owner of grit anymore. ...
3 years, 11 months ago (2017-01-04 17:04:47 UTC) #12
pastarmovj
On 2017/01/04 17:04:47, ljusten wrote: > mailto:thakis@chromium.org: pastarmovj@ has already checked this CL, but he's ...
3 years, 11 months ago (2017-01-04 18:44:43 UTC) #13
ljusten (tachyonic)
On 2017/01/04 17:04:47, ljusten wrote: > mailto:thakis@chromium.org: pastarmovj@ has already checked this CL, but he's ...
3 years, 11 months ago (2017-01-09 09:33:05 UTC) #14
Nico
+mnissler who had opinions on ADMX templates a while ago
3 years, 11 months ago (2017-01-09 15:18:07 UTC) #16
ljusten (tachyonic)
On 2017/01/09 15:18:07, Nico wrote: > +mnissler who had opinions on ADMX templates a while ...
3 years, 11 months ago (2017-01-17 15:24:11 UTC) #17
ljusten (tachyonic)
Friendly ping. We'd like to get this in sometime around mid August since the ADMX ...
3 years, 4 months ago (2017-07-28 17:53:27 UTC) #18
Nico
Prefix pings with username of person you're pinging to save people a click. mnissler: ping
3 years, 4 months ago (2017-07-28 19:04:38 UTC) #19
ljusten (tachyonic)
Right, thanks. I hope there's going to be enough time between Mattias' vacation (until Aug ...
3 years, 4 months ago (2017-07-31 10:16:03 UTC) #20
Mattias Nissler (ping if slow)
Since you're asking here's my opinion (but note that I'm neither a grit nor a ...
3 years, 4 months ago (2017-08-14 09:18:07 UTC) #21
ljusten (tachyonic)
Nico: ping
3 years, 4 months ago (2017-08-16 12:40:39 UTC) #22
Nico
On 2017/08/16 12:40:39, ljusten (tachyonic) wrote: > Nico: ping mnissler's recommendation makes sense to me.
3 years, 4 months ago (2017-08-16 13:15:12 UTC) #23
ljusten (tachyonic)
> mnissler's recommendation makes sense to me. I'm happy to take this refactoring, but I ...
3 years, 4 months ago (2017-08-16 14:10:52 UTC) #24
ljusten (tachyonic)
On 2017/08/16 14:10:52, ljusten (tachyonic) wrote: > > mnissler's recommendation makes sense to me. > ...
3 years, 3 months ago (2017-09-20 13:42:52 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2481183002/280001
3 years, 3 months ago (2017-09-20 13:53:58 UTC) #30
commit-bot: I haz the power
3 years, 3 months ago (2017-09-20 15:02:17 UTC) #33
Message was sent while issue was closed.
Committed patchset #14 (id:280001) as
https://chromium.googlesource.com/chromium/src/+/7a912ab95678117a84e94a33fb9e...

Powered by Google App Engine
This is Rietveld 408576698