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

Build system cleanup/revision #68

Open
18 of 25 tasks
bertfrees opened this issue Jan 23, 2017 · 14 comments
Open
18 of 25 tasks

Build system cleanup/revision #68

bertfrees opened this issue Jan 23, 2017 · 14 comments

Comments

@bertfrees
Copy link
Member

bertfrees commented Jan 23, 2017

The build system has become a real obstacle, especially for external contributors. There are various things we can do to make it more manageable.

February 2017 L

May, June, July 2017

May 2018

2020

  • Instead of having dependency <exclusions> in the BOMs, exclude them from the declared dependencies in the artifact POMs (or make provided). XS

Other M

See branches:

@josteinaj
Copy link
Member

Possibly related to #41: To enable xprocspec testing we currently have to add a Java file under src/test/ and list the same dependencies as are listed in the POM. It's basically something you copy from another project and edit the list of dependencies. Is it possible to remove this requirement, and just enable xprocspec testing for all module projects (unless explicitly disabled in the project pom)?

@bertfrees
Copy link
Member Author

In daisy/pipeline@dependencies...script-tests I've done some work to make it easier to create tests. The boilerplate in both Java and POM is reduced to a minimum this way. I hope this is a good enough improvement so that we don't have to make it completely automatic which would be a step too far IMO. That's just too magic for me. It's also not easy to do, technically.

@bertfrees bertfrees added this to the February 2017 milestone Feb 1, 2017
@bertfrees
Copy link
Member Author

@rdeltour I suggest we start with these ones (that I put at the top). Does that sound OK to you?

@bertfrees
Copy link
Member Author

See PR daisy/pipeline#503.

@bertfrees
Copy link
Member Author

  • Fix circular dependencies

The only circular dependency that I know of at the moment is between fileset-utils and mediatype-utils. (px:unzip-fileset uses px:mediatype-detect which uses px:fileset-load). We can solve this by replacing all px:unzip-fileset with the new px:fileset-unzip (daisy/pipeline-modules-common@0dcbd4b). px:unzip-fileset is used in epub3-to-daisy202 and epub3-to-pef.

@bertfrees
Copy link
Member Author

@josteinaj Could you please review daisy/pipeline@script-tests...remove-unzip-fileset? The tests succeed.

@josteinaj
Copy link
Member

@bertfrees looks good

@bertfrees bertfrees modified the milestones: May 2017, February 2017 May 23, 2017
@bertfrees
Copy link
Member Author

I've moved the items that haven't been done to "Later" and cleared the milestone for now.

@bertfrees
Copy link
Member Author

@rdeltour I'd like to do this one. Any objections?

@bertfrees bertfrees removed this from the May 2017 milestone Aug 1, 2017
@bertfrees
Copy link
Member Author

@josteinaj It seems that unzip-fileset was also used in epub3-dtbook-migrator. Have you noticed that?

@rdeltour
Copy link
Member

Stop using remote snapshots repositories: #75

@rdeltour I'd like to do this one. Any objections?

No objections, go ahead.

@josteinaj
Copy link
Member

@bertfrees yes, I'm trying to fix the nordic migrator (only some evasive weird issue with epubcheck remaining) (nlbdev/pipeline@fix-nordic-migrator), and one issue was the renaming of unzip-fileset. It wasn't a big deal though, I just had to rename it: nlbdev/pipeline@bce4267

@bertfrees
Copy link
Member Author

OK. Just wanted to check because I also just come across this issue in the sbs branch.

@bertfrees
Copy link
Member Author

See daisy/pipeline-framework#149

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

No branches or pull requests

3 participants