Gentoo Archives: gentoo-commits

From: Mike Pagano <mpagano@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/linux-patches:genpatches-misc commit in: web/, web/content/
Date: Tue, 13 Jul 2021 16:12:48
Message-Id: 1626192705.4d842a4e5ce9bfba49866aea5e71a9b182f664a2.mpagano@gentoo
1 commit: 4d842a4e5ce9bfba49866aea5e71a9b182f664a2
2 Author: Mike Pagano <mpagano <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jul 13 16:11:45 2021 +0000
4 Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 13 16:11:45 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/linux-patches.git/commit/?id=4d842a4e
7
8 Update Site generating scripts
9
10 Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>
11
12 web/content/sitemap.html | 42 +++++++++++++++++++++++++++++-------------
13 web/gentoo_sources_web.pm | 2 ++
14 web/makesite.pl | 3 +++
15 3 files changed, 34 insertions(+), 13 deletions(-)
16
17 diff --git a/web/content/sitemap.html b/web/content/sitemap.html
18 index 577bce6..34ca22c 100644
19 --- a/web/content/sitemap.html
20 +++ b/web/content/sitemap.html
21 @@ -1,30 +1,43 @@
22 -<h1>genpatches homepage</h1>
23 -
24 -<h2>Information</h2>
25 +<div class="container">
26 + <div class="row">
27 + <div id="content" class="col-md-12">
28 + <h1 class="first-header">Genpatches Homepage
29 + <br> <br>
30 + <small>Information</small>
31 +</h1>
32
33 <ul>
34
35 -<li><h4><b><a href="about.html">About genpatches</a></b></h4><br />
36 +<li><h4><b><a href="about.html">About genpatches</a></b></h4>
37 A brief description of the package, and details about our patching and release policy.</li>
38 +<br/>
39
40 -<li><h4><b><a href="kernels.html">Available Kernels</a></b></h4><br />
41 +<li><h4><b><a href="kernels.html">Available Kernels</a></b></h4>
42 List of kernels available in Portage which are based on genpatches.</li>
43 +<br/>
44
45 -<li><h4><b><a href="faq.html">Frequently Asked Questions</a></b></h4><br />
46 +<li><h4><b><a href="faq.html">Frequently Asked Questions</a></b></h4>
47 Questions that we are bored of answering :)</li>
48 +<br/>
49
50 -<li><h4><b><a href="releases.html">Release Information</a></b></h4><br />
51 +<li><h4><b><a href="releases.html">Release Information</a></b></h4>
52 Information about the patches we apply to our kernel releases, and links to patch tarballs.</li>
53 +<br/>
54
55 -<li><h4><b><a href="bugs.html">Reporting Bugs</a></b></h4><br />
56 +<li><h4><b><a href="bugs.html">Reporting Bugs</a></b></h4>
57 The ideal process you should follow when reporting kernel bugs.</li>
58 -
59 -<li><h4><b><a href="issues.html">Known Issues &amp; Solutions</a></b></h4><br />
60 -Details about common issues with our kernel releases, and their solutions.</li>
61 -
62 +<br/>
63 </ul>
64 + </div>
65 + </div>
66 +</div>
67
68 -<h2>Resources</h2>
69 +<div class="container">
70 + <div class="row">
71 + <div id="content" class="col-md-12">
72 + <h1 class="first-header"> <br>
73 + <small>Resources</small>
74 +</h1>
75
76 <ul>
77
78 @@ -49,3 +62,6 @@ Problems reported by Gentoo users regarding the mainline kernel, currently being
79 <br/>
80
81 </ul>
82 + </div>
83 + </div>
84 +</div>
85
86 diff --git a/web/gentoo_sources_web.pm b/web/gentoo_sources_web.pm
87 index e4a1ee0..7c6423f 100644
88 --- a/web/gentoo_sources_web.pm
89 +++ b/web/gentoo_sources_web.pm
90 @@ -27,6 +27,8 @@ my $cmd="";
91 $webscript_path = &Cwd::cwd();
92 $output_path = $webscript_path.'/output';
93
94 +print "outuput path is is $output_path\n";
95 +
96 $website_base = 'http://dev.gentoo.org/~mpagano/genpatches';
97
98 # TODO fix this, maybe from .genpatchsrc
99
100 diff --git a/web/makesite.pl b/web/makesite.pl
101 index 914dee9..0bb3cc2 100755
102 --- a/web/makesite.pl
103 +++ b/web/makesite.pl
104 @@ -36,6 +36,8 @@ make_kernels_page();
105 make_release_pages();
106 process_static_content();
107
108 +exit 1;
109 +
110 sub make_index_page {
111 local *FD;
112 print ">> Making index page\n";
113 @@ -407,6 +409,7 @@ sub generate_info {
114 }
115
116 sub process_static_content {
117 + print "process_static_content called\n";
118 copy($webscript_path.'/content/style.css', $output_path);
119 copy($webscript_path.'/content/.htaccess', $output_path);
120 }