Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move site back where it belongs #62

Merged
merged 1 commit into from
Aug 26, 2020

Conversation

fluffynuts
Copy link
Contributor

This is work-in-progress: trying to get the log4net site generation working properly again.

@fluffynuts
Copy link
Contributor Author

@rgoers I've moved the artifacts back where maven recognises them, but the result I get from running a command like mvn site:stage -DstagingDirectory=$HOME/log4net gives me a site where the index is ok, but a lot of the linked pages (eg releases) don't exist. I'm not sure if the problem is environmental or otherwise; since I know nothing about maven (another thing to learn!) I'm not 100% sure about where to start tracking this down, but a quick text-search within the site folder & generated area hasn't been very illuminating. I thought I'd start a PR now so that anyone with more knowledge on the tooling could help.

@rgoers
Copy link
Member

rgoers commented Aug 26, 2020

FWIW, the Apache Logging project generally uses "CTR " (commit - then review). So if you are comfortable with the changes being made you don't need to create a PR. Committers generally only create PRs when they really want a code review because they either a) aren't 100% sure they are doing the right thing or b) want others to be aware of some impact the commit is going to cause.

@rgoers rgoers merged commit 3a0124d into apache:master Aug 26, 2020
@fluffynuts
Copy link
Contributor Author

@rgoers I had 2 subsequent commits on the PR (didn't realise that you'd acted on it so quickly!) which restore the release folder in the site area, fixing all the missing artifacts that I found upon trying to build the site. Does CTR imply I should simply commit to master on apache/logging-log4net?

@rgoers
Copy link
Member

rgoers commented Aug 27, 2020 via email

@fluffynuts
Copy link
Contributor Author

@rgoers cool -- but I can't push to apache/logging-log4net:

ERROR: Permission to apache/logging-log4net.git denied to fluffynuts.

@rgoers
Copy link
Member

rgoers commented Aug 27, 2020

Your apache userid is davydm. It needs to be linked with your GitHub user. See https://gitbox.apache.org/setup/. Apache Logging doesn't have a guide but many projects do. For example, https://cwiki.apache.org/confluence/display/OPENWHISK/Accessing+Apache+GitHub+as+a+Committer

Ralph

@fluffynuts
Copy link
Contributor Author

fluffynuts commented Aug 27, 2020

Thanks @rgoers I've managed to push & I've pushed new site content via svn too; getting a little stuck at point 7 of https://cwiki.apache.org/confluence/display/LOGGING/Managing+the+Logging+Services+Web+Site with respect to getting the site live

@cremor
Copy link

cremor commented Sep 2, 2020

I'm not sure if this belongs to the changes made in this PR, but https://logging.apache.org/log4net/ (with is the top Google result if you search for "log4net") currently leads to a directory listing.

@fluffynuts
Copy link
Contributor Author

@cremor thanks for reporting; logging sites are in a bit of a state of upheaval right now (as far as I understand). Good people are On It.

@rgoers
Copy link
Member

rgoers commented Sep 2, 2020

Please try it again.

@rgoers
Copy link
Member

rgoers commented Sep 2, 2020

FWIW, the documentation for publishing the web site is at https://cwiki.apache.org/confluence/display/LOGGING/Managing+the+Git+Hosted+Web+Site. So you would run your build to create the web site and then copy it into the Log4net site repo.

@fluffynuts
Copy link
Contributor Author

Thanks for sorting it out @rgoers. I'll try to be better prepared next time.

@cremor
Copy link

cremor commented Sep 3, 2020

@rgoers Now the link https://logging.apache.org/log4net/ works, but the link which is on https://logging.apache.org, which is https://logging.apache.org/log4net/2.x/index.html (both the button on the main site and in the menu at the top), doesn't work any more 😕

@rgoers
Copy link
Member

rgoers commented Sep 3, 2020

Thanks. Those should be fixed now.

@rgoers
Copy link
Member

rgoers commented Sep 10, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants